Skip to content

Commit

Permalink
PEP 737: Clarify '%T' description
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed Jun 1, 2024
1 parent d1aae7b commit 1e573ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peps/pep-0737.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Add the following formats to ``PyUnicode_FromFormat()``:
* ``%N`` formats the **fully qualified name** of a **type**,
similar to ``PyType_GetFullyQualifiedName(type)``;
**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))``;
**T** stands for object **T**\ ype.
* ``%#N`` and ``%#T``: the alternative form uses the **colon** separator
Expand Down

0 comments on commit 1e573ca

Please sign in to comment.