Skip to content

Commit e1fe44a

Browse files
committed
Fix doc about pickling in copy module.
1 parent 805e336 commit e1fe44a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/copy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ class instances).
4343
nor stack trace, stack frame, nor file, socket, window, nor any
4444
similar types.
4545
46-
Classes can use the same interfaces to control copying that they use
47-
to control pickling: they can define methods called __getinitargs__(),
48-
__getstate__() and __setstate__(). See the documentation for module
49-
"pickle" for information on these methods.
46+
Classes can use the same interfaces to control copying as they do for
47+
pickling. To control pickling, they may implement the methods
48+
__getstate__() and __setstate__(). See the documentation for the
49+
"pickle" module for information on these methods.
5050
"""
5151

5252
import types

0 commit comments

Comments
 (0)