wording
This commit is contained in:
parent
af9a392e94
commit
97ecde0859
|
@ -568,9 +568,9 @@ common values in derived classes are identical (a singleton model). While PEP
|
|||
354 dismisses this approach for its complexity, in practice any perceived
|
||||
complexity, though minimal, is hidden from users of the enumeration.
|
||||
|
||||
Unlike PEP 354, enumeration values can only be tested by identity comparison.
|
||||
This is to emphasize the fact that enumeration values are singletons, much
|
||||
like ``None``.
|
||||
Unlike PEP 354, enumeration values should only be tested by identity
|
||||
comparison. This is to emphasize the fact that enumeration values are
|
||||
singletons, much like ``None``.
|
||||
|
||||
|
||||
Acknowledgments
|
||||
|
|
Loading…
Reference in New Issue