Issue19030: fixed comment that was still referring to a changed descriptor.

This commit is contained in:
Ethan Furman 2013-09-27 23:02:02 -07:00
parent 9a1daf5765
commit 33918c128b
1 changed files with 2 additions and 2 deletions

View 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