diff options
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r-- | Lib/pickle.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index ddb2c81..02a1b1d 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -1,7 +1,7 @@ """Create portable serialized representations of Python objects. See module cPickle for a (much) faster implementation. -See module copyreg for a mechanism for registering custom picklers. +See module copy_reg for a mechanism for registering custom picklers. See module pickletools source for extensive comments. Classes: @@ -27,8 +27,8 @@ Misc variables: __version__ = "$Revision$" # Code version from types import * -from copyreg import dispatch_table -from copyreg import _extension_registry, _inverted_registry, _extension_cache +from copy_reg import dispatch_table +from copy_reg import _extension_registry, _inverted_registry, _extension_cache import marshal import sys import struct @@ -295,7 +295,7 @@ class Pickler: self.save_global(obj) return - # Check copyreg.dispatch_table + # Check copy_reg.dispatch_table reduce = dispatch_table.get(t) if reduce: rv = reduce(obj) |