diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 18:03:52 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 18:03:52 +0000 |
commit | ea0b22a167f25deaf170da2c321fbd9d64af1ab3 (patch) | |
tree | d2a8a25bc7f0f07029ff0cf58a041807c316792d /Lib/copyreg.py | |
parent | 5e7b1c07bc3c6f22f8fbc276c7a1ac0aecfee64a (diff) | |
download | cpython-git-ea0b22a167f25deaf170da2c321fbd9d64af1ab3.tar.gz |
Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.
This fixes the omissions of configparser, copyreg, queue and
socketserver renaming.
Diffstat (limited to 'Lib/copyreg.py')
-rw-r--r-- | Lib/copyreg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/copyreg.py b/Lib/copyreg.py index db1715092c..bf8827e3c0 100644 --- a/Lib/copyreg.py +++ b/Lib/copyreg.py @@ -13,7 +13,7 @@ dispatch_table = {} def pickle(ob_type, pickle_function, constructor_ob=None): if type(ob_type) is _ClassType: - raise TypeError("copy_reg is not intended for use with classes") + raise TypeError("copyreg is not intended for use with classes") if not hasattr(pickle_function, '__call__'): raise TypeError("reduction functions must be callable") |