[Python-checkins] cpython (2.7): PySequence_Fast generally returns a list (#16305)

benjamin.peterson python-checkins at python.org
Tue Apr 8 16:51:03 CEST 2014


http://hg.python.org/cpython/rev/3016a9e8061a
changeset:   90178:3016a9e8061a
branch:      2.7
parent:      90176:b235db467cd5
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Apr 08 10:50:54 2014 -0400
summary:
  PySequence_Fast generally returns a list (#16305)

files:
  Include/abstract.h |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Include/abstract.h b/Include/abstract.h
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -1149,7 +1149,7 @@
 
      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.
 

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


More information about the Python-checkins mailing list