This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年08月14日 15:33 by lelit, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| mywork.patch | kdykstra, 2014年10月28日 11:39 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg225303 - (view) | Author: Lele Gaifax (lelit) * | Date: 2014年08月14日 15:33 | |
The documentation of namedtuple, near the end, talks about implementing enumerated constants and says "Enumerated constants can be implemented with named tuples, but it is simpler and more efficient to use a simple class declaration". Maybe it should mention the recently added Enum type instead/too. |
|||
| msg230139 - (view) | Author: Karmen Dykstra (kdykstra) | Date: 2014年10月28日 11:39 | |
Updated documentation with Enum example. |
|||
| msg230150 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年10月28日 14:08 | |
New changeset 2e3521e79d93 by Ezio Melotti in branch 'default': #22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra. https://hg.python.org/cpython/rev/2e3521e79d93 |
|||
| msg230151 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年10月28日 14:18 | |
New changeset 701529f8ca93 by Ezio Melotti in branch '3.4': #22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra. https://hg.python.org/cpython/rev/701529f8ca93 |
|||
| msg230155 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2014年10月28日 14:45 | |
Fixed, thanks for the patch! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:06 | admin | set | github: 66392 |
| 2014年10月28日 14:45:43 | ezio.melotti | set | status: open -> closed assignee: rhettinger -> ezio.melotti versions: + Python 3.4, Python 3.5 messages: + msg230155 type: enhancement resolution: fixed stage: resolved |
| 2014年10月28日 14:18:05 | python-dev | set | messages: + msg230151 |
| 2014年10月28日 14:08:08 | python-dev | set | nosy:
+ python-dev messages: + msg230150 |
| 2014年10月28日 11:39:58 | kdykstra | set | files:
+ mywork.patch nosy: + ezio.melotti, kdykstra messages: + msg230139 keywords: + patch |
| 2014年08月15日 06:41:14 | rhettinger | set | priority: normal -> low assignee: docs@python -> rhettinger nosy: + rhettinger |
| 2014年08月14日 15:33:51 | lelit | create | |