summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2013-09-28 06:02:02 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2013-09-28 06:02:02 (GMT)
commit33918c128bbc4815f4830b270e23cf7eb83c1038 (patch)
tree60d9ee7e50d20a9eb075008483cb5dd596b35ddb /Lib/enum.py
parent9a1daf5765d2df70d25b4886f8f288c3dff24578 (diff)
downloadcpython-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.py4
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