diff options
author | Petr Viktorin <encukou@gmail.com> | 2022-02-11 16:22:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 16:22:11 (GMT) |
commit | 204946986feee7bc80b233350377d24d20fcb1b8 (patch) | |
tree | e66ab16090f97845e0f95f981c720954e244d102 /Misc | |
parent | e0bcfd0e4db193743d4bafc48d10f15ae9ed7b2b (diff) | |
download | cpython-204946986feee7bc80b233350377d24d20fcb1b8.zip cpython-204946986feee7bc80b233350377d24d20fcb1b8.tar.gz cpython-204946986feee7bc80b233350377d24d20fcb1b8.tar.bz2 |
bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081)
* Make PyType_GetModuleByDef public (remove underscore)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2022-02-02-17-58-49.bpo-46613.__ZdpH.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2022-02-02-17-58-49.bpo-46613.__ZdpH.rst b/Misc/NEWS.d/next/C API/2022-02-02-17-58-49.bpo-46613.__ZdpH.rst new file mode 100644 index 0000000..9d0fca7 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2022-02-02-17-58-49.bpo-46613.__ZdpH.rst @@ -0,0 +1,2 @@ +Added function :c:func:`PyType_GetModuleByDef`, which allows accesss to +module state when a method's defining class is not available. |