Skip to content

Commit 3cbade7

Browse files
bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326)
* Clarify __deepcopy__ memo dict argument usage * Add full stop
1 parent bce2eb4 commit 3cbade7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/library/copy.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ The latter is called to implement the deep copy operation; it is passed one
8686
argument, the ``memo`` dictionary. If the :meth:`__deepcopy__` implementation needs
8787
to make a deep copy of a component, it should call the :func:`deepcopy` function
8888
with the component as first argument and the memo dictionary as second argument.
89+
The memo dictionary should be treated as an opaque object.
8990

9091

9192
.. seealso::

0 commit comments

Comments
 (0)