[Python-checkins] cpython (2.7): args doesn't need to be a tuple (closes #17210)

benjamin.peterson python-checkins at python.org
Sun Jul 20 01:35:32 CEST 2014


http://hg.python.org/cpython/rev/9cd3ab7c09d1
changeset:   91732:9cd3ab7c09d1
branch:      2.7
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Jul 19 16:34:33 2014 -0700
summary:
  args doesn't need to be a tuple (closes #17210)

files:
  Doc/c-api/unicode.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -1108,7 +1108,7 @@
 .. c:function:: PyObject* PyUnicode_Format(PyObject *format, PyObject *args)
 
    Return a new string object from *format* and *args*; this is analogous to
-   ``format % args``.  The *args* argument must be a tuple.
+   ``format % args``.
 
 
 .. c:function:: int PyUnicode_Contains(PyObject *container, PyObject *element)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list