diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-03-31 21:57:13 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-03-31 21:57:13 (GMT) |
commit | 092a1f7ad7140095ca9f722333c2c667674d1e8b (patch) | |
tree | 1b6987c3e1f1a59badcc0ebf3cdb6d430e9fee28 | |
parent | affbe80a54b759992af00d7f096ab960b425c600 (diff) | |
download | cpython-092a1f7ad7140095ca9f722333c2c667674d1e8b.zip cpython-092a1f7ad7140095ca9f722333c2c667674d1e8b.tar.gz cpython-092a1f7ad7140095ca9f722333c2c667674d1e8b.tar.bz2 |
PyErr_Warn is decrepated. Use PyErr_WarnEx
-rw-r--r-- | Doc/library/warnings.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 076d357..d2e5b68 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -16,7 +16,7 @@ warrant raising an exception and terminating the program. For example, one might want to issue a warning when a program uses an obsolete module. Python programmers issue warnings by calling the :func:`warn` function defined -in this module. (C programmers use :cfunc:`PyErr_Warn`; see +in this module. (C programmers use :cfunc:`PyErr_WarnEx`; see :ref:`exceptionhandling` for details). Warning messages are normally written to ``sys.stderr``, but their disposition |