Kaydet (Commit) 33918c12 authored tarafından Ethan Furman's avatar Ethan Furman

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

üst 9a1daf57
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment