Clarify some example code.
This commit is contained in:
parent
3fbf62a658
commit
7437a8b0de
|
@ -85,8 +85,8 @@ default behavior::
|
|||
ham = None
|
||||
eggs = 5
|
||||
__definition_order__ = tuple(k for k in locals()
|
||||
if (not k.startswith('__') or
|
||||
not k.endswith('__')))
|
||||
if not (k.startswith('__') and
|
||||
k.endswith('__')))
|
||||
|
||||
Note that [pep487_] proposes a similar solution, albeit as part of a
|
||||
broader proposal.
|
||||
|
|
Loading…
Reference in New Issue