mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
PyErr_Warn is deprecated in 2.5 - goes away for 3.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user