mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
This commit is contained in:
parent
e85ee8d815
commit
d68f5171eb
7 changed files with 48 additions and 16 deletions
|
@ -66,6 +66,7 @@ extern DL_IMPORT(PyObject *) PyExc_MemoryErrorInst;
|
|||
extern DL_IMPORT(PyObject *) PyExc_Warning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_UserWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_DeprecationWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_PendingDeprecationWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_SyntaxWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_OverflowWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_RuntimeWarning;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue