mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Added a FutureWarning for constructs that will change semantically in
the future. Changed PEP 237 hex constant warnings from DeprecationWarning to FutureWarning. Updated the documentation.
This commit is contained in:
parent
31d2df5b60
commit
9f00739551
3 changed files with 11 additions and 2 deletions
|
|
@ -70,6 +70,7 @@ PyAPI_DATA(PyObject *) PyExc_PendingDeprecationWarning;
|
|||
PyAPI_DATA(PyObject *) PyExc_SyntaxWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_OverflowWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_RuntimeWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_FutureWarning;
|
||||
|
||||
|
||||
/* Convenience functions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue