mirror of https://github.com/python/cpython
Fix a comment: PySequence_Fast() creates a list, not a tuple.
This commit is contained in:
parent
0d03478b88
commit
064474134c
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue