massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / copy.pyi
1 from typing import Any, TypeVar
2
3 _T = TypeVar("_T")
4
5 # None in CPython but non-None in Jython
6 PyStringMap: Any
7
8 # Note: memo and _nil are internal kwargs.
9 def deepcopy(x: _T, memo: dict[int, Any] | None = ..., _nil: Any = ...) -> _T: ...
10 def copy(x: _T) -> _T: ...
11
12 class Error(Exception): ...
13
14 error = Error