From: Benjamin Peterson Date: Fri, 4 Oct 2013 14:55:15 +0000 (-0400) Subject: dict is also allowed (closes #19163) X-Git-Tag: v2.7.6rc1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29f0dc5f770549562ae2d8e12643e5692e24bd24;p=python dict is also allowed (closes #19163) --- diff --git a/Doc/c-api/string.rst b/Doc/c-api/string.rst index ecf70504bf..32dc274a9e 100644 --- a/Doc/c-api/string.rst +++ b/Doc/c-api/string.rst @@ -241,7 +241,7 @@ called with a non-string parameter. .. c:function:: PyObject* PyString_Format(PyObject *format, PyObject *args) Return a new string object from *format* and *args*. Analogous to ``format % - args``. The *args* argument must be a tuple. + args``. The *args* argument must be a tuple or dict. .. c:function:: void PyString_InternInPlace(PyObject **string)