diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2013-09-28 06:02:02 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2013-09-28 06:02:02 (GMT) |
commit | 33918c128bbc4815f4830b270e23cf7eb83c1038 (patch) | |
tree | 60d9ee7e50d20a9eb075008483cb5dd596b35ddb /Lib/enum.py | |
parent | 9a1daf5765d2df70d25b4886f8f288c3dff24578 (diff) | |
download | cpython-33918c128bbc4815f4830b270e23cf7eb83c1038.zip cpython-33918c128bbc4815f4830b270e23cf7eb83c1038.tar.gz cpython-33918c128bbc4815f4830b270e23cf7eb83c1038.tar.bz2 |
Issue19030: fixed comment that was still referring to a changed descriptor.
Diffstat (limited to 'Lib/enum.py')
-rw-r--r-- | Lib/enum.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/enum.py b/Lib/enum.py index 45bfbb4..921d00c 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -471,8 +471,8 @@ class Enum(metaclass=EnumMeta): def __hash__(self): return hash(self._name_) - # _RouteClassAttributeToGetattr is used to provide access to the `name` - # and `value` properties of enum members while keeping some measure of + # DynamicClassAttribute is used to provide access to the `name` and + # `value` properties of enum members while keeping some measure of # protection from modification, while still allowing for an enumeration # to have members named `name` and `value`. This works because enumeration # members are not set directly on the enum class -- __getattr__ is |