summaryrefslogtreecommitdiffstats
path: root/Lib/copyreg.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/copyreg.py')
-rw-r--r--Lib/copyreg.py2
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")