MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / __deepcopy__

Method __deepcopy__

pymongo/synchronous/cursor.py:886–891  ·  view source on GitHub ↗

Support function for `copy.deepcopy()`. .. versionadded:: 2.4

(self, memo: Any)

Source from the content-addressed store, hash-verified

884 return self._clone(deepcopy=False)
885
886 def __deepcopy__(self, memo: Any) -> Any:
887 """Support function for `copy.deepcopy()`.
888
889 .. versionadded:: 2.4
890 """
891 return self._clone(deepcopy=True)
892
893 @overload
894 def _deepcopy(self, x: Iterable, memo: Optional[dict[int, Union[list, dict]]] = None) -> list: # type: ignore[type-arg]

Callers

nothing calls this directly

Calls 1

_cloneMethod · 0.95

Tested by

no test coverage detected