summaryrefslogtreecommitdiffstats
path: root/Doc/library/enum.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25179: Documentation for formatted string literals aka f-stringsMartin Panter2016-02-131-1/+2
| | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation.
* Merge string formatting doc fixes from 3.5Martin Panter2016-02-081-6/+6
|\
| * Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-6/+6
| | | | | | | | | | | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance
| * Close issue25594: advise against accessing Enum members from other membersEthan Furman2015-11-201-10/+16
| |
* | use public 'value'Ethan Furman2016-01-161-1/+1
| |
* | revert change 87a9dff5106c: pure Enum members again evaluate to True;Ethan Furman2016-01-151-1/+10
| | | | | | | | | | update Finer Points section of docs to cover boolean evaluation; add more tests for pure and mixed boolean evaluation
* | Close 25594: advise against accessing Enum members from other membersEthan Furman2015-11-201-10/+16
| |
* | Issue #25210: Change error message of do_richcompare()Victor Stinner2015-10-141-1/+1
|/ | | | | | | | | | | | Don't add parenthesis to type names. Add also quotes around the type names. Before: TypeError: unorderable types: int() < NoneType() After: TypeError: '<' not supported between instances of 'int' and 'NoneType'
* Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-101-1/+1
|\
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
| |
* | whatsnew/3.5: Sync whatsnew with versionadded/versionchanged doc tagsYury Selivanov2015-09-111-1/+1
| |
* | Issue22997: minor doc update; thanks to Simoen VisserEthan Furman2015-01-151-3/+7
|\ \ | |/
| * Issue22997: minor doc update; thanks to Simoen VisserEthan Furman2015-01-151-3/+7
| |
* | standardize Enum docs by referring to 'special methods' instead of ↵Ethan Furman2014-11-011-5/+5
| | | | | | | | __dunder__ methods
* | Doc: fix default role usage (except in unittest mock docs)Georg Brandl2014-10-301-1/+1
| |
* | Issue #21706: Add a versionchanged directive to the functional API docs.Berker Peksag2014-09-181-0/+3
| |
* | Close issue21706: add 'start' parameter to functional APIEthan Furman2014-09-171-3/+6
|/
* Issue21738: clarify usage of __new__ in Enum subclassesEthan Furman2014-09-171-6/+9
|
* Fix spelling in enum docs.Zachary Ware2014-03-201-3/+3
| | | | | "equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese" were discovered by a spell-checker.
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-1/+1
|
* Issue20653: fix ReST for EnumEthan Furman2014-03-031-10/+10
|
* Close issue20653: improve functional API docs; minor code changesEthan Furman2014-03-031-0/+34
|
* Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.Larry Hastings2014-02-101-2/+2
|
* Close issue20534: all pickle protocols now supported.Ethan Furman2014-02-081-3/+11
|
* Close issue20412: Updated Enum docs to have referencable Enum and IntEnum ↵Ethan Furman2014-02-061-5/+22
| | | | classes
* Add versionadded to enum docs.R David Murray2013-12-201-0/+2
|
* Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-2/+2
|
* Add missing comma.Ezio Melotti2013-10-051-1/+1
|
* #19148: fix markup errors and wording in enum docs. Patch by Esa Peuha.Ezio Melotti2013-10-051-7/+7
|
* Close #19011: Add documentation on some of the non-standard Enum behavior.Ethan Furman2013-09-281-0/+73
| | | | | | Issues such as iterating and containment on Enum classes, why Enum member instances do not show up on other Enum members, and how __new__ should be used.
* Close #18989: enum members will no longer overwrite other attributes, nor be ↵Ethan Furman2013-09-151-0/+6
| | | | overwritten by them.
* Close #18980: Enum doc fixes. Patch from Elazar Gershuni.Ethan Furman2013-09-091-2/+3
|
* Close #18908: Keep Enum docs in their own section. Patch by Elazar Gershuni.Ethan Furman2013-09-071-58/+67
|
* Close #18738: Route __format__ calls to mixed-in type for mixed Enums (such ↵Ethan Furman2013-09-011-0/+6
| | | | as IntEnum).
* fixed examples to work with changed attribute namesEthan Furman2013-07-301-5/+5
|
* closes issue18042 -- a `unique` decorator is added to enum.pyEthan Furman2013-07-191-27/+66
| | | | | The docs also clarify the 'Interesting Example' duplicate-free enum is for demonstration purposes.
* Added rationale for defaulting to 1 in the functional API.Ethan Furman2013-06-291-0/+4
|
* Added example to enum docs show access to name and value attributes of enum ↵Ethan Furman2013-06-281-2/+10
| | | | members.
* Fix markup of the synopsis along with changing to state what is in theBrett Cannon2013-06-151-2/+2
| | | | module and not as a definition of what an enumeration is.
* Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python ↵Ethan Furman2013-06-141-0/+542
standard library). Missing files added. News entry added.