diff options
author | Victor Stinner <vstinner@python.org> | 2024-03-14 18:17:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 18:17:43 (GMT) |
commit | c432df6d56f3e02530132321b47dcc7b914a3660 (patch) | |
tree | 5681440b657fcbdd83da18a7fb2e74dfef1a1656 /Doc/whatsnew | |
parent | 25cd8730aa39c18e767f63586dfd1da2fbb307c9 (diff) | |
download | cpython-c432df6d56f3e02530132321b47dcc7b914a3660.zip cpython-c432df6d56f3e02530132321b47dcc7b914a3660.tar.gz cpython-c432df6d56f3e02530132321b47dcc7b914a3660.tar.bz2 |
gh-111696, PEP 737: Add PyType_GetModuleName() function (#116824)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index cbb5e02..f42197c 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -1664,6 +1664,10 @@ New Features to ``"builtins"``. (Contributed by Victor Stinner in :gh:`111696`.) +* Add :c:func:`PyType_GetModuleName` function to get the type's module name. + Equivalent to getting the ``type.__module__`` attribute. + (Contributed by Eric Snow and Victor Stinner in :gh:`111696`.) + Porting to Python 3.13 ---------------------- |