Skip to content

Commit

Permalink
Fix a typo in _make_class_unpicklable() docstring (pythonGH-26729)
Browse files Browse the repository at this point in the history
(cherry picked from commit 689a844)

Co-authored-by: andrei kulakov <[email protected]>
  • Loading branch information
akulakov authored and miss-islington committed Jun 15, 2021
1 parent 133cddf commit f2c0ffd
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 f2c0ffd

Please sign in to comment.