]> granicus.if.org Git - python/commitdiff
PySequence_Fast generally returns a list (#16305)
authorBenjamin Peterson <benjamin@python.org>
Tue, 8 Apr 2014 14:50:54 +0000 (10:50 -0400)
committerBenjamin Peterson <benjamin@python.org>
Tue, 8 Apr 2014 14:50:54 +0000 (10:50 -0400)
Include/abstract.h

index a377423868b55d6b8daca0bd08676560de638b5b..2a18798c038ab9cc394ffa4f01b096fb9b2f15d2 100644 (file)
@@ -1149,7 +1149,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.