diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-08 14:50:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-08 14:50:54 (GMT) |
commit | 95d8acfde3e46efdfa843002babe2cfe9b2465bb (patch) | |
tree | 54a286763af8ad70cba46add46ae2d624ae874e3 | |
parent | 96c9a358157da0b5dcdce4523164f84bf593cad6 (diff) | |
download | cpython-95d8acfde3e46efdfa843002babe2cfe9b2465bb.zip cpython-95d8acfde3e46efdfa843002babe2cfe9b2465bb.tar.gz cpython-95d8acfde3e46efdfa843002babe2cfe9b2465bb.tar.bz2 |
PySequence_Fast generally returns a list (#16305)
-rw-r--r-- | Include/abstract.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index a377423..2a18798 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -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. |