[Python-checkins] cpython: Issue19030: fixed comment that was still referring to a changed descriptor.

ethan.furman python-checkins at python.org
Sat Sep 28 08:02:11 CEST 2013


http://hg.python.org/cpython/rev/96081e7526f0
changeset:   85816:96081e7526f0
user:        Ethan Furman <ethan at stoneleaf.us>
date:        Fri Sep 27 23:02:02 2013 -0700
summary:
  Issue19030: fixed comment that was still referring to a changed descriptor.

files:
  Lib/enum.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/enum.py b/Lib/enum.py
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -471,8 +471,8 @@
     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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list