From: Ethan Furman Date: Sat, 28 Sep 2013 06:02:02 +0000 (-0700) Subject: Issue19030: fixed comment that was still referring to a changed descriptor. X-Git-Tag: v3.4.0a3~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33918c128bbc4815f4830b270e23cf7eb83c1038;p=thirdparty%2FPython%2Fcpython.git Issue19030: fixed comment that was still referring to a changed descriptor. --- diff --git a/Lib/enum.py b/Lib/enum.py index 45bfbb4e29e9..921d00c3a3b8 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