mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
This commit is contained in:
parent
507ed6fa1d
commit
689a84475e
@ -79,7 +79,7 @@ def _make_class_unpicklable(obj):
|
|||||||
"""
|
"""
|
||||||
Make the given obj un-picklable.
|
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):
|
def _break_on_call_reduce(self, proto):
|
||||||
raise TypeError('%r cannot be pickled' % self)
|
raise TypeError('%r cannot be pickled' % self)
|
||||||
|
Loading…
Reference in New Issue
Block a user