summaryrefslogtreecommitdiffstats
path: root/Doc/library/copyreg.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/copyreg.rst')
-rw-r--r--Doc/library/copyreg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/copyreg.rst b/Doc/library/copyreg.rst
index dd97ade..60df3d0 100644
--- a/Doc/library/copyreg.rst
+++ b/Doc/library/copyreg.rst
@@ -24,7 +24,7 @@ instances.
hence not valid as a constructor), raises :exc:`TypeError`.
-.. function:: pickle(type, function[, constructor])
+.. function:: pickle(type, function, constructor=None)
Declares that *function* should be used as a "reduction" function for objects
of type *type*. *function* should return either a string or a tuple