Skip to content

Commit

Permalink
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
Browse files Browse the repository at this point in the history
  • Loading branch information
akulakov authored Jun 15, 2021
1 parent 507ed6f commit 689a844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _make_class_unpicklable(obj):
"""
Make the given obj un-picklable.
obj should be either a dictionary, on an Enum
obj should be either a dictionary, or an Enum
"""
def _break_on_call_reduce(self, proto):
raise TypeError('%r cannot be pickled' % self)
Expand Down

0 comments on commit 689a844

Please sign in to comment.