Skip to content

Commit 689a844

Browse files
authored
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
1 parent 507ed6f commit 689a844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/enum.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _make_class_unpicklable(obj):
7979
"""
8080
Make the given obj un-picklable.
8181
82-
obj should be either a dictionary, on an Enum
82+
obj should be either a dictionary, or an Enum
8383
"""
8484
def _break_on_call_reduce(self, proto):
8585
raise TypeError('%r cannot be pickled' % self)

0 commit comments

Comments
 (0)