summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-03-31 21:57:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-03-31 21:57:13 (GMT)
commit092a1f7ad7140095ca9f722333c2c667674d1e8b (patch)
tree1b6987c3e1f1a59badcc0ebf3cdb6d430e9fee28
parentaffbe80a54b759992af00d7f096ab960b425c600 (diff)
downloadcpython-092a1f7ad7140095ca9f722333c2c667674d1e8b.zip
cpython-092a1f7ad7140095ca9f722333c2c667674d1e8b.tar.gz
cpython-092a1f7ad7140095ca9f722333c2c667674d1e8b.tar.bz2
PyErr_Warn is decrepated. Use PyErr_WarnEx
-rw-r--r--Doc/library/warnings.rst2
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