From: Larry Hastings Date: Tue, 6 Mar 2012 06:59:13 +0000 (-0800) Subject: Fix a comment: PySequence_Fast() creates a list, not a tuple. X-Git-Tag: v3.3.0a2~276^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=064474134c1895147badb78f5928fd1a54bbeb68;p=python Fix a comment: PySequence_Fast() creates a list, not a tuple. --- diff --git a/Include/abstract.h b/Include/abstract.h index abb996ff1a..3a99c4e08c 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -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.