Message151657
| Author |
torsten |
| Recipients |
docs@python, torsten |
| Date |
2012年01月19日.21:56:12 |
| SpamBayes Score |
0.013083968 |
| Marked as misclassified |
No |
| Message-id |
<1327010174.09.0.407534369688.issue13833@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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年01月19日 21:56:14 | torsten | set | recipients:
+ torsten, docs@python |
| 2012年01月19日 21:56:14 | torsten | set | messageid: <1327010174.09.0.407534369688.issue13833@psf.upfronthosting.co.za> |
| 2012年01月19日 21:56:13 | torsten | link | issue13833 messages |
| 2012年01月19日 21:56:13 | torsten | create |
|