Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.

This fixes the omissions of configparser, copyreg, queue and
socketserver renaming.
This commit is contained in:
Alexandre Vassalotti 2008-05-16 18:03:52 +00:00
parent 5e7b1c07bc
commit ea0b22a167
8 changed files with 12 additions and 12 deletions

View file

@ -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")