]> granicus.if.org Git - python/commitdiff
Issue19030: fixed comment that was still referring to a changed descriptor.
authorEthan Furman <ethan@stoneleaf.us>
Sat, 28 Sep 2013 06:02:02 +0000 (23:02 -0700)
committerEthan Furman <ethan@stoneleaf.us>
Sat, 28 Sep 2013 06:02:02 +0000 (23:02 -0700)
Lib/enum.py

index 45bfbb4e29e9aed66bd17c0570ad095aaf819f53..921d00c3a3b814c683f728a3ee0a33b7434309b4 100644 (file)
@@ -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