From 7d0084f3c91f00a24c171a04c2561d4b3bee1d2e Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Sat, 1 Jun 2024 22:53:34 +0200 Subject: [PATCH] PEP 737: Clarify '%T' description (#3806) --- peps/pep-0737.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0737.rst b/peps/pep-0737.rst index b9470dc11..dc771ee05 100644 --- a/peps/pep-0737.rst +++ b/peps/pep-0737.rst @@ -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