Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31801: Enum: add _ignore_ as class option (#5237) | Ethan Furman | 2018-01-22 | 1 | -1/+25 |
| | | | | | | | | | | | | | | | | * bpo-31801: Enum: add _ignore_ as class option _ignore_ is a list, or white-space seperated str, of names that will not be candidates for members; these names, and _ignore_ itself, are removed from the final class. * bpo-31801: Enum: add documentation for _ignore_ * bpo-31801: Enum: remove trailing whitespace * bpo-31801: Enum: fix bulleted list format * bpo-31801: add version added for _ignore_ | ||||
* | Improve enum.Flag code example (GH-5167) | Julian Kahnert | 2018-01-13 | 1 | -1/+1 |
| | | | | The code example that demonstrate how to use enum.Flag was missing the import of enum.auto. | ||||
* | correct documentation for enum.html (#358) | Kartik Anand | 2017-02-28 | 1 | -2/+2 |
| | |||||
* | Issue #29129: Fix typo in "Using auto" section | Berker Peksag | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | close issue28172: Change all example enum member names to uppercase, per ↵ | Ethan Furman | 2016-11-21 | 1 | -172/+173 |
| | | | | Guido; patch by Chris Angelico. | ||||
* | issue23591: fix flag decomposition and repr | Ethan Furman | 2016-09-18 | 1 | -0/+22 |
| | |||||
* | issue23591: add auto() for auto-generating Enum member values | Ethan Furman | 2016-09-11 | 1 | -16/+83 |
| | |||||
* | improve Enum docs | Ethan Furman | 2016-09-08 | 1 | -11/+12 |
| | |||||
* | add recipes for pseudo-valueless enums | Ethan Furman | 2016-09-07 | 1 | -11/+68 |
| | |||||
* | issue23591: more docs; slight change to repr | Ethan Furman | 2016-09-04 | 1 | -1/+12 |
| | |||||
* | issue23591: bool(empty_flags) == False; more docs & tests | Ethan Furman | 2016-09-02 | 1 | -3/+59 |
| | |||||
* | issue23591: add docs; code cleanup; more tests | Ethan Furman | 2016-09-02 | 1 | -46/+127 |
| | |||||
* | issue26981: add _order_ compatibility shim to enum.Enum | Ethan Furman | 2016-08-20 | 1 | -1/+20 |
| | |||||
* | Issue26988: remove AutoEnum | Ethan Furman | 2016-08-20 | 1 | -218/+65 |
| | |||||
* | Silence warnings from 'make suspicious' to make the docs buildbot happy | Berker Peksag | 2016-08-06 | 1 | -7/+9 |
| | |||||
* | Add AutoEnum: automatically provides next value if missing. Issue 26988. | Ethan Furman | 2016-08-05 | 1 | -65/+216 |
| | |||||
* | Issue #24314: Merge doc links from 3.5 | Martin Panter | 2016-06-18 | 1 | -1/+1 |
|\ | |||||
| * | Issue #24314: Fix doc links for general attributes like __name__, __dict__ | Martin Panter | 2016-06-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #27125: Merge typo fixes from 3.5 | Martin Panter | 2016-05-30 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #27125: Remove duplicated words from documentation and comments | Martin Panter | 2016-05-30 | 1 | -2/+2 |
| | | |||||
* | | Issue #25179: Documentation for formatted string literals aka f-strings | Martin Panter | 2016-02-13 | 1 | -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.5 | Martin Panter | 2016-02-08 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue #25179: Preparatory cleanup of existing docs on string formatting | Martin Panter | 2016-02-08 | 1 | -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 members | Ethan Furman | 2015-11-20 | 1 | -10/+16 |
| | | |||||
* | | use public 'value' | Ethan Furman | 2016-01-16 | 1 | -1/+1 |
| | | |||||
* | | revert change 87a9dff5106c: pure Enum members again evaluate to True; | Ethan Furman | 2016-01-15 | 1 | -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 members | Ethan Furman | 2015-11-20 | 1 | -10/+16 |
| | | |||||
* | | Issue #25210: Change error message of do_richcompare() | Victor Stinner | 2015-10-14 | 1 | -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.5 | Martin Panter | 2015-10-10 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | whatsnew/3.5: Sync whatsnew with versionadded/versionchanged doc tags | Yury Selivanov | 2015-09-11 | 1 | -1/+1 |
| | | |||||
* | | Issue22997: minor doc update; thanks to Simoen Visser | Ethan Furman | 2015-01-15 | 1 | -3/+7 |
|\ \ | |/ | |||||
| * | Issue22997: minor doc update; thanks to Simoen Visser | Ethan Furman | 2015-01-15 | 1 | -3/+7 |
| | | |||||
* | | standardize Enum docs by referring to 'special methods' instead of ↵ | Ethan Furman | 2014-11-01 | 1 | -5/+5 |
| | | | | | | | | __dunder__ methods | ||||
* | | Doc: fix default role usage (except in unittest mock docs) | Georg Brandl | 2014-10-30 | 1 | -1/+1 |
| | | |||||
* | | Issue #21706: Add a versionchanged directive to the functional API docs. | Berker Peksag | 2014-09-18 | 1 | -0/+3 |
| | | |||||
* | | Close issue21706: add 'start' parameter to functional API | Ethan Furman | 2014-09-17 | 1 | -3/+6 |
|/ | |||||
* | Issue21738: clarify usage of __new__ in Enum subclasses | Ethan Furman | 2014-09-17 | 1 | -6/+9 |
| | |||||
* | Fix spelling in enum docs. | Zachary Ware | 2014-03-20 | 1 | -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 Hastings | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Issue20653: fix ReST for Enum | Ethan Furman | 2014-03-03 | 1 | -10/+10 |
| | |||||
* | Close issue20653: improve functional API docs; minor code changes | Ethan Furman | 2014-03-03 | 1 | -0/+34 |
| | |||||
* | Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors. | Larry Hastings | 2014-02-10 | 1 | -2/+2 |
| | |||||
* | Close issue20534: all pickle protocols now supported. | Ethan Furman | 2014-02-08 | 1 | -3/+11 |
| | |||||
* | Close issue20412: Updated Enum docs to have referencable Enum and IntEnum ↵ | Ethan Furman | 2014-02-06 | 1 | -5/+22 |
| | | | | classes | ||||
* | Add versionadded to enum docs. | R David Murray | 2013-12-20 | 1 | -0/+2 |
| | |||||
* | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -2/+2 |
| | |||||
* | Add missing comma. | Ezio Melotti | 2013-10-05 | 1 | -1/+1 |
| | |||||
* | #19148: fix markup errors and wording in enum docs. Patch by Esa Peuha. | Ezio Melotti | 2013-10-05 | 1 | -7/+7 |
| | |||||
* | Close #19011: Add documentation on some of the non-standard Enum behavior. | Ethan Furman | 2013-09-28 | 1 | -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. |