]> granicus.if.org Git - python/commitdiff
PyErr_Warn is decrepated. Use PyErr_WarnEx
authorBenjamin Peterson <benjamin@python.org>
Mon, 31 Mar 2008 21:57:13 +0000 (21:57 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 31 Mar 2008 21:57:13 +0000 (21:57 +0000)
Doc/library/warnings.rst

index 076d357f69eafa8946c4db4a9e859c29f8be1681..d2e5b681bc843ffd7e7cbd09b189df9f58066a61 100644 (file)
@@ -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