Browse Source
bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326)
* Clarify __deepcopy__ memo dict argument usage
* Add full stop
pull/21427/head
Joannah Nanjekye
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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:: |
|
|
|
|