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

noreply@sourceforge.net noreply@sourceforge.net
Tue, 29 May 2001 11:53:37 -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: Closed
>Resolution: Fixed
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().

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-05-29 11:53

Message:
Logged In: YES 
user_id=3066

Fixed in Doc/api/api.tex revisions 1.125 and 1.117.2.3.

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

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