summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-03-05 22:59:13 -0800
committerLarry Hastings <larry@hastings.org>2012-03-05 22:59:13 -0800
commit064474134c1895147badb78f5928fd1a54bbeb68 (patch)
tree8174a16ab134697958153ed0957cc8b7e0fb851a /Include
parent0d03478b88747d25dd6198d0573e3d63caee6c0e (diff)
downloadcpython-git-064474134c1895147badb78f5928fd1a54bbeb68.tar.gz
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 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.