diff options
author | Victor Stinner <vstinner@python.org> | 2024-03-14 22:23:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 22:23:00 (GMT) |
commit | 7bbb9b57e67057d5ca3b7e3a434527fb3fcf5a2b (patch) | |
tree | 5f09547613d22804329cac09199b629f3182b4db /Misc | |
parent | 5f52d20a93908196f74271db8437cc1ba7e1e262 (diff) | |
download | cpython-7bbb9b57e67057d5ca3b7e3a434527fb3fcf5a2b.zip cpython-7bbb9b57e67057d5ca3b7e3a434527fb3fcf5a2b.tar.gz cpython-7bbb9b57e67057d5ca3b7e3a434527fb3fcf5a2b.tar.bz2 |
gh-111696, PEP 737: Add %T and %N to PyUnicode_FromFormat() (#116839)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2024-03-14-22-30-07.gh-issue-111696.76UMKi.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2024-03-14-22-30-07.gh-issue-111696.76UMKi.rst b/Misc/NEWS.d/next/C API/2024-03-14-22-30-07.gh-issue-111696.76UMKi.rst new file mode 100644 index 0000000..44c15e4 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2024-03-14-22-30-07.gh-issue-111696.76UMKi.rst @@ -0,0 +1,4 @@ +Add support for ``%T``, ``%T#``, ``%N`` and ``%N#`` formats to +:c:func:`PyUnicode_FromFormat`: format the fully qualified name of an object +type and of a type: call :c:func:`PyType_GetModuleName`. See :pep:`737` for +more information. Patch by Victor Stinner. |