Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 102488b

Browse files
committed
args doesn't need to be a tuple (closes #17210)
1 parent e004c6c commit 102488b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ They all return *NULL* or ``-1`` if an exception occurs.
16461646
.. c:function:: PyObject* PyUnicode_Format(PyObject *format, PyObject *args)
16471647
16481648
Return a new string object from *format* and *args*; this is analogous to
1649-
``format % args``. The *args* argument must be a tuple.
1649+
``format % args``.
16501650
16511651
16521652
.. c:function:: int PyUnicode_Contains(PyObject *container, PyObject *element)

0 commit comments

Comments
 (0)