diff --git a/pep-0435.txt b/pep-0435.txt index f5af108b9..5b335c993 100644 --- a/pep-0435.txt +++ b/pep-0435.txt @@ -96,7 +96,8 @@ Creating an Enum ---------------- Enumerations are created using the class syntax, which makes them easy to read -and write. Every enumeration value must have a unique integer value and the +and write. An alternative creation method is described in `Convenience API`_. +Every enumeration value must have a unique integer value and the only restriction on their names is that they must be valid Python identifiers. To define an enumeration, derive from the ``Enum`` class and add attributes with assignment to their integer values::