bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326)
* Clarify __deepcopy__ memo dict argument usage * Add full stop
This commit is contained in:
parent
bce2eb4646
commit
3cbade7d30
|
@ -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
|
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
|
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.
|
with the component as first argument and the memo dictionary as second argument.
|
||||||
|
The memo dictionary should be treated as an opaque object.
|
||||||
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
Loading…
Reference in New Issue