[Python-bugs-list] [ python-Bugs-428391 ] Error in PySequence_Fast_GET_ITEM doc

noreply@sourceforge.net noreply@sourceforge.net
Tue, 29 May 2001 11:29:33 -0700


Bugs item #428391, was updated on 2001-05-29 11:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=428391&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Yakov Markovitch (markovitch)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Error in PySequence_Fast_GET_ITEM doc

Initial Comment:
>From the PySequence_Fast_GET_ITEM description:
"The caller is expected to get the length of the
sequence by calling PyObject_Size() on o, since lists
and tuples are guaranteed to always return their true
length."

There should obviously be PySequence_Size() instead of
PyObject_Size().

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=428391&group_id=5470