This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: C API doc for PySequence_Tuple duplicated
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: nnorwitz, quiver
Priority: normal Keywords:

Created on 2005-10-11 11:18 by quiver, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26554 - (view) Author: George Yoshida (quiver) (Python committer) Date: 2005-10-11 11:18
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.
msg26555 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2005-10-12 04:00
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
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42466
2005-10-11 11:18:22quivercreate