From dccf90542b57d108d8a6d944f6ba3b0a859b455b Mon Sep 17 00:00:00 2001 From: Joannah Nanjekye Date: Sun, 5 Jul 2020 03:35:18 +0000 Subject: [PATCH 1/2] Clarify __deepcopy__ memo dict argument usage --- Doc/library/copy.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst index a8e8bfb1e832bb2..77b547dc7a07f62 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:: From 7b59d65c42c463d76c70e0f3d6b00dd5ef84c5a9 Mon Sep 17 00:00:00 2001 From: Joannah Nanjekye Date: Sun, 5 Jul 2020 03:38:45 +0000 Subject: [PATCH 2/2] Add full stop --- Doc/library/copy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst index 77b547dc7a07f62..176e01db6f9faf0 100644 --- a/Doc/library/copy.rst +++ b/Doc/library/copy.rst @@ -86,7 +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 +The memo dictionary should be treated as an opaque object. .. seealso::