diff options
author | Larry Hastings <larry@hastings.org> | 2012-03-06 06:59:13 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2012-03-06 06:59:13 (GMT) |
commit | 064474134c1895147badb78f5928fd1a54bbeb68 (patch) | |
tree | 8174a16ab134697958153ed0957cc8b7e0fb851a | |
parent | 0d03478b88747d25dd6198d0573e3d63caee6c0e (diff) | |
download | cpython-064474134c1895147badb78f5928fd1a54bbeb68.zip cpython-064474134c1895147badb78f5928fd1a54bbeb68.tar.gz cpython-064474134c1895147badb78f5928fd1a54bbeb68.tar.bz2 |
Fix a comment: PySequence_Fast() creates a list, not a tuple.
-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 abb996f..3a99c4e 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. |