New submission from Wummel <[EMAIL PROTECTED]>: 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2502> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com