PEP 737: Clarify '%T' description (#3806)
This commit is contained in:
parent
db15dde802
commit
7d0084f3c9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue