changeset: 75448:d8f68195210e user: Larry Hastings date: Mon Mar 05 22:59:13 2012 -0800 files: Include/abstract.h description: Fix a comment: PySequence_Fast() creates a list, not a tuple. diff -r 9aa51342cb73 -r d8f68195210e Include/abstract.h --- a/Include/abstract.h Tue Mar 06 02:06:01 2012 +0100 +++ b/Include/abstract.h Mon Mar 05 22:59:13 2012 -0800 @@ -1026,7 +1026,7 @@ 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.

AltStyle によって変換されたページ (->オリジナル) /