summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2020-07-10 00:36:35 (GMT)
committerGitHub <noreply@github.com>2020-07-10 00:36:35 (GMT)
commit3cbade7d309ab1ea97ec286d19d506df30bd1ab7 (patch)
treed3b580acc02301ab9e1e7e0ab88e97bee3f87480 /Doc
parentbce2eb4646021910aa4074d86f44a09b32d0b2b2 (diff)
downloadcpython-3cbade7d309ab1ea97ec286d19d506df30bd1ab7.zip
cpython-3cbade7d309ab1ea97ec286d19d506df30bd1ab7.tar.gz
cpython-3cbade7d309ab1ea97ec286d19d506df30bd1ab7.tar.bz2
bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326)
* Clarify __deepcopy__ memo dict argument usage * Add full stop
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/copy.rst1
1 files changed, 1 insertions, 0 deletions
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::