[issue1122] PyTuple_Size and PyTuple_GET_SIZE return type documentation incorrect

2007-09-06 Thread Andrew Gaul

New submission from 
Andrew Gaul
:

Documentation claims int, API uses Py_ssize_t.

--
components: Documentation
files: pytuple_size.patch
messages: 55718
nosy: gaul
severity: minor
status: open
title: PyTuple_Size and PyTuple_GET_SIZE return type documentation incorrect
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1122>
__Index: Doc/c-api/concrete.rst
===
--- Doc/c-api/concrete.rst	(revision 58025)
+++ Doc/c-api/concrete.rst	(working copy)
@@ -1933,12 +1933,12 @@
.. versionadded:: 2.4
 
 
-.. cfunction:: int PyTuple_Size(PyObject *p)
+.. cfunction:: Py_ssize_t PyTuple_Size(PyObject *p)
 
Take a pointer to a tuple object, and return the size of that tuple.
 
 
-.. cfunction:: int PyTuple_GET_SIZE(PyObject *p)
+.. cfunction:: Py_ssize_t PyTuple_GET_SIZE(PyObject *p)
 
Return the size of the tuple *p*, which must be non-*NULL* and point to a tuple;
no error checking is performed.
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22848] Subparser help does not respect SUPPRESS argument

2018-05-18 Thread Andrew Gaul

Change by Andrew Gaul :


--
nosy: +gaul

___
Python tracker 
<https://bugs.python.org/issue22848>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com