Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Lib/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ class instances).
nor stack trace, stack frame, nor file, socket, window, nor any
similar types.

Classes can use the same interfaces to control copying that they use
to control pickling: they can define methods called __getinitargs__(),
__getstate__() and __setstate__(). See the documentation for module
"pickle" for information on these methods.
Classes can use the same interfaces to control copying as they do for
pickling. To control pickling, they may implement the methods
__getstate__() and __setstate__(). See the documentation for the
"pickle" module for information on these methods.
"""

import types
Expand Down
Loading