[ python-Bugs-1323739 ] C API doc for PySequence_Tuple duplicated

SourceForge.net noreply at sourceforge.net
Wed Oct 12 06:00:15 CEST 2005


Bugs item #1323739, was opened at 2005-10-11 04:18
Message generated for change (Settings changed) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1323739&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: George Yoshida (quiver)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: C API doc for PySequence_Tuple duplicated

Initial Comment:
Python/C API documentation for PySequence_Tuple is 
duplicated.
  http://docs.python.org/api/sequence.html

$ grep -n PySequence_Tup Doc/api/abstract.tex
781:\begin{cfuncdesc}{PyObject*}{PySequence_Tuple}
{PyObject *o}
812:\begin{cfuncdesc}{PyObject*}{PySequence_Tuple}
{PyObject *o}

One says::
  Returns the o as a tuple on success, and NULL on 
failure. This is equivalent to the Python expression "tuple
(o)". 

The other says:
  Return a tuple object with the same contents as the 
arbitrary sequence o. If o is a tuple, a new reference will 
be returned, otherwise a tuple will be constructed with 
the appropriate contents. 

They need to be merged.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-11 21:00

Message:
Logged In: YES 
user_id=33168

George, thanks for this bug and the many other issues you've
found.

Checked in as:
 * Doc/api/abstract.tex 1.36 and 1.35.2.1

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

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


More information about the Python-bugs-list mailing list