Commits

Benjamin Peterson  committed c7015e3

PyErr_Warn is decrepated. Use PyErr_WarnEx

  • Participants
  • Parent commits c3ee0f0
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/library/warnings.rst

 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