summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorXie Yanbo <xieyanbo@gmail.com>2024-08-07 06:39:16 (GMT)
committerGitHub <noreply@github.com>2024-08-07 06:39:16 (GMT)
commitb6c80e21c78ea86fb12b331f69881a586ed487e0 (patch)
treef3ccb152fa27be8da9e6fb84217e5c657d541c18 /Lib/enum.py
parent98dba73010e807e613b9400e8c4b411302498728 (diff)
downloadcpython-b6c80e21c78ea86fb12b331f69881a586ed487e0.zip
cpython-b6c80e21c78ea86fb12b331f69881a586ed487e0.tar.gz
cpython-b6c80e21c78ea86fb12b331f69881a586ed487e0.tar.bz2
Fix typos in comments and docstring (#122720)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Lib/enum.py')
-rw-r--r--Lib/enum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index c36fc75..c86d7dd 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -207,7 +207,7 @@ class property(DynamicClassAttribute):
# use previous enum.property
return self.fget(instance)
elif self._attr_type == 'attr':
- # look up previous attibute
+ # look up previous attribute
return getattr(self._cls_type, self.name)
elif self._attr_type == 'desc':
# use previous descriptor