Fix a comment: PySequence_Fast() creates a list, not a tuple.

This commit is contained in:
Larry Hastings 2012-03-05 22:59:13 -08:00
parent 0d03478b88
commit 064474134c
1 changed files with 1 additions and 1 deletions

View 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.