From: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Date: Fri, 10 Jul 2020 00:36:35 +0000 (-0300) Subject: bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326) X-Git-Tag: v3.10.0a1~411 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cbade7d309ab1ea97ec286d19d506df30bd1ab7;p=thirdparty%2FPython%2Fcpython.git bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326) * Clarify __deepcopy__ memo dict argument usage * Add full stop --- diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst index a8e8bfb1e832..176e01db6f9f 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::