mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
parent
dcafb362f7
commit
7c2921844f
@ -1153,7 +1153,7 @@ class _Pickler:
|
||||
except UnicodeEncodeError:
|
||||
raise PicklingError(
|
||||
"can't pickle global identifier '%s.%s' using "
|
||||
"pickle protocol %i" % (module, name, self.proto)) from None
|
||||
"pickle protocol %i" % (module_name, name, self.proto)) from None
|
||||
|
||||
def save_type(self, obj):
|
||||
if obj is type(None):
|
||||
|
Loading…
Reference in New Issue
Block a user