summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-03-06 06:59:13 (GMT)
committerLarry Hastings <larry@hastings.org>2012-03-06 06:59:13 (GMT)
commit064474134c1895147badb78f5928fd1a54bbeb68 (patch)
tree8174a16ab134697958153ed0957cc8b7e0fb851a /Include
parent0d03478b88747d25dd6198d0573e3d63caee6c0e (diff)
downloadcpython-064474134c1895147badb78f5928fd1a54bbeb68.zip
cpython-064474134c1895147badb78f5928fd1a54bbeb68.tar.gz
cpython-064474134c1895147badb78f5928fd1a54bbeb68.tar.bz2
Fix a comment: PySequence_Fast() creates a list, not a tuple.
Diffstat (limited to 'Include')
-rw-r--r--Include/abstract.h2
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.