[docs] [issue13833] No documentation for PyStructSequence

Torsten Landschoff report at bugs.python.org
Thu Jan 19 22:56:14 CET 2012


New submission from Torsten Landschoff <t.landschoff at 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 at python
components: Documentation
files: structseq_doc.diff
keywords: patch
messages: 151657
nosy: docs at 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 at bugs.python.org>
<http://bugs.python.org/issue13833>
_______________________________________


More information about the docs mailing list