[Python-checkins] r62084 - python/trunk/Doc/library/warnings.rst

benjamin.peterson python-checkins at python.org
Mon Mar 31 23:57:13 CEST 2008


Author: benjamin.peterson
Date: Mon Mar 31 23:57:13 2008
New Revision: 62084

Modified:
   python/trunk/Doc/library/warnings.rst
Log:
PyErr_Warn is decrepated. Use PyErr_WarnEx


Modified: python/trunk/Doc/library/warnings.rst
==============================================================================
--- python/trunk/Doc/library/warnings.rst	(original)
+++ python/trunk/Doc/library/warnings.rst	Mon Mar 31 23:57:13 2008
@@ -16,7 +16,7 @@
 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


More information about the Python-checkins mailing list