PEP 737: Clarify '%T' description (#3806)

This commit is contained in:
Erlend E. Aasland 2024-06-01 22:53:34 +02:00 committed by GitHub
parent db15dde802
commit 7d0084f3c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ Add the following formats to ``PyUnicode_FromFormat()``:
* ``%N`` formats the **fully qualified name** of a **type**, * ``%N`` formats the **fully qualified name** of a **type**,
similar to ``PyType_GetFullyQualifiedName(type)``; similar to ``PyType_GetFullyQualifiedName(type)``;
**N** stands for type **N**\ ame. **N** stands for type **N**\ ame.
* ``%T`` formats the type **fully qualified name** of an **object**, * ``%T`` formats the type **fully qualified name** of an object's **type**,
similar to ``PyType_GetFullyQualifiedName(Py_TYPE(obj))``; similar to ``PyType_GetFullyQualifiedName(Py_TYPE(obj))``;
**T** stands for object **T**\ ype. **T** stands for object **T**\ ype.
* ``%#N`` and ``%#T``: the alternative form uses the **colon** separator * ``%#N`` and ``%#T``: the alternative form uses the **colon** separator