classification
Title: No documentation for PyStructSequence
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.3, Python 3.2, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eric.araujo, torsten
Priority: normal Keywords: patch

Created on 2012-01-19 21:56 by torsten, last changed 2012-02-03 14:09 by eric.araujo.

Files
File name Uploaded Description Edit
structseq_doc.diff torsten, 2012-01-19 21:56 Patch to add documentation for PyStructSequence review
Messages (1)
msg151657 - (view) Author: Torsten Landschoff (torsten) Date: 2012-01-19 21:56
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.
History
Date User Action Args
2012-02-03 14:09:52eric.araujosetnosy: + eric.araujo
stage: patch review

versions: + Python 2.7, Python 3.2
2012-01-19 21:56:13torstencreate