diff options
| author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 18:03:52 (GMT) |
|---|---|---|
| committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 18:03:52 (GMT) |
| commit | ea0b22a167f25deaf170da2c321fbd9d64af1ab3 (patch) | |
| tree | d2a8a25bc7f0f07029ff0cf58a041807c316792d /Lib/copyreg.py | |
| parent | 5e7b1c07bc3c6f22f8fbc276c7a1ac0aecfee64a (diff) | |
| download | cpython-ea0b22a167f25deaf170da2c321fbd9d64af1ab3.zip cpython-ea0b22a167f25deaf170da2c321fbd9d64af1ab3.tar.gz cpython-ea0b22a167f25deaf170da2c321fbd9d64af1ab3.tar.bz2 | |
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 db17150..bf8827e 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") |
