[New-bugs-announce] [issue2502] Add enum() example for named tuples

Wummel report at bugs.python.org
Fri Mar 28 12:05:19 CET 2008


New submission from Wummel <calvin at users.sourceforge.net>:

Named tuples can also be used to emulate enum datatypes. The patch adds
an example to the documentation.

----------
assignee: georg.brandl
components: Documentation
files: 0001-Add-enum-example-for-named-tuples.patch
keywords: patch
messages: 64627
nosy: calvin, georg.brandl
severity: normal
status: open
title: Add enum() example for named tuples
versions: Python 2.6
Added file: http://bugs.python.org/file9881/0001-Add-enum-example-for-named-tuples.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2502>
__________________________________


More information about the New-bugs-announce mailing list