From 3cbade7d309ab1ea97ec286d19d506df30bd1ab7 Mon Sep 17 00:00:00 2001 From: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Date: Thu, 9 Jul 2020 21:36:35 -0300 Subject: bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326) * Clarify __deepcopy__ memo dict argument usage * Add full stop --- Doc/library/copy.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst index a8e8bfb..176e01d 100644 --- a/Doc/library/copy.rst +++ b/Doc/library/copy.rst @@ -86,6 +86,7 @@ The latter is called to implement the deep copy operation; it is passed one argument, the ``memo`` dictionary. If the :meth:`__deepcopy__` implementation needs to make a deep copy of a component, it should call the :func:`deepcopy` function with the component as first argument and the memo dictionary as second argument. +The memo dictionary should be treated as an opaque object. .. seealso:: -- cgit v0.12