summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-11 22:23:25 (GMT)
committerGitHub <noreply@github.com>2018-09-11 22:23:25 (GMT)
commit998b80636690ffbdb0a278810d9c031fad38631d (patch)
treea3a5f6986728062509fae6f5f0c843ddedae222d /Doc/c-api
parentacd282fd5b3ca4de302b33c9361dbc433593c4ca (diff)
downloadcpython-998b80636690ffbdb0a278810d9c031fad38631d.zip
cpython-998b80636690ffbdb0a278810d9c031fad38631d.tar.gz
cpython-998b80636690ffbdb0a278810d9c031fad38631d.tar.bz2
Revert "bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080)" (GH-9187)
This reverts commit 886483e2b9bbabf60ab769683269b873381dd5ee.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/unicode.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 66b1efc..92e22b1 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -519,9 +519,6 @@ APIs:
| :attr:`%R` | PyObject\* | The result of calling |
| | | :c:func:`PyObject_Repr`. |
+-------------------+---------------------+--------------------------------+
- | :attr:`%T` | PyObject\* | Object type name, equivalent |
- | | | to ``Py_TYPE(op)->tp_name``. |
- +-------------------+---------------------+--------------------------------+
An unrecognized format character causes all the rest of the format string to be
copied as-is to the result string, and any extra arguments discarded.
@@ -546,9 +543,6 @@ APIs:
Support width and precision formatter for ``"%s"``, ``"%A"``, ``"%U"``,
``"%V"``, ``"%S"``, ``"%R"`` added.
- .. versionchanged:: 3.7
- Support for ``"%T"`` (object type name) added.
-
.. c:function:: PyObject* PyUnicode_FromFormatV(const char *format, va_list vargs)