mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Revert "bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080)" (GH-9187)
This reverts commit 886483e2b9
.
This commit is contained in:
parent
acd282fd5b
commit
998b806366
4 changed files with 53 additions and 66 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue