Files
typeshed/stdlib/@python2/copy.pyi
2021-08-14 11:12:30 +02:00

15 lines
315 B
Python

from typing import Any, Dict, TypeVar
_T = TypeVar("_T")
# None in CPython but non-None in Jython
PyStringMap: Any
# Note: memo and _nil are internal kwargs.
def deepcopy(x: _T, memo: Dict[int, Any] | None = ..., _nil: Any = ...) -> _T: ...
def copy(x: _T) -> _T: ...
class Error(Exception): ...
error = Error