diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-06-11 12:01:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 12:01:47 (GMT) |
commit | 5cbefa99198729a1d4e93d93f890c066039ee1d2 (patch) | |
tree | 76cff6b51ef8c34fa9523ae86278e6254572a08c /Misc | |
parent | 9d6171ded5c56679bc295bacffc718472bcb706b (diff) | |
download | cpython-5cbefa99198729a1d4e93d93f890c066039ee1d2.zip cpython-5cbefa99198729a1d4e93d93f890c066039ee1d2.tar.gz cpython-5cbefa99198729a1d4e93d93f890c066039ee1d2.tar.bz2 |
Clean up after bpo-33738. (GH-7627)
* Add declarations even if they are overridden by macros.
* Make the declaration and the definition of PyExceptionClass_Name
consistent.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst b/Misc/NEWS.d/next/Core and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst index 0b7365d..2e0c43c 100644 --- a/Misc/NEWS.d/next/Core and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst +++ b/Misc/NEWS.d/next/Core and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst @@ -1,4 +1,4 @@ Seven macro incompatibilities with the Limited API were fixed, and the -macros PyIter_Check, PyIndex_Check and PyExceptionClass_Name were added as -functions. The return type of PyExceptionClass_Name is "const char \*". +macros :c:func:`PyIter_Check`, :c:func:`PyIndex_Check` and +:c:func:`PyExceptionClass_Name` were added as functions. A script for automatic macro checks was added. |