From 064474134c1895147badb78f5928fd1a54bbeb68 Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Mon, 5 Mar 2012 22:59:13 -0800 Subject: Fix a comment: PySequence_Fast() creates a list, not a tuple. --- Include/abstract.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12