]> granicus.if.org Git - python/commitdiff
Fix a comment: PySequence_Fast() creates a list, not a tuple.
authorLarry Hastings <larry@hastings.org>
Tue, 6 Mar 2012 06:59:13 +0000 (22:59 -0800)
committerLarry Hastings <larry@hastings.org>
Tue, 6 Mar 2012 06:59:13 +0000 (22:59 -0800)
Include/abstract.h

index abb996ff1a4eefb96382df3cc3dcfcbefbcd5151..3a99c4e08c2f2a7709e65827892f1f74be7ef5dd 100644 (file)
@@ -1026,7 +1026,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
 
      PyAPI_FUNC(PyObject *) PySequence_Fast(PyObject *o, const char* m);
        /*
-     Returns the sequence, o, as a tuple, unless it's already a
+     Returns the sequence, o, as a list, unless it's already a
      tuple or list.  Use PySequence_Fast_GET_ITEM to access the
      members of this list, and PySequence_Fast_GET_SIZE to get its length.