[issue13833] No documentation for PyStructSequence

New submission from Torsten Landschoff <t.landschoff@gmx.net>: While writing a C extension I wanted to create a namedtuple like object as os.statvfs and friends do. I was unable to find a simple way to do this from C and was wondering how the posixmodule does it. It turned out that there is a PyStructSequence type for this. It would be nice to have it documented. First draft for the documentation update attached. ---------- assignee: docs@python components: Documentation files: structseq_doc.diff keywords: patch messages: 151657 nosy: docs@python, torsten priority: normal severity: normal status: open title: No documentation for PyStructSequence type: enhancement versions: Python 3.3 Added file: http://bugs.python.org/file24280/structseq_doc.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13833> _______________________________________

Changes by Éric Araujo <merwok@netwok.org>: ---------- nosy: +eric.araujo stage: -> patch review versions: +Python 2.7, Python 3.2 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13833> _______________________________________

Roundup Robot added the comment: New changeset 05dcaf761c7d by Georg Brandl in branch '3.3': Closes #13833: document PyStructSequence C-API functions. http://hg.python.org/cpython/rev/05dcaf761c7d ---------- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13833> _______________________________________
participants (3)
-
Roundup Robot
-
Torsten Landschoff
-
Éric Araujo