Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood
2023-03-21 08:12:34 +00:00
committed by GitHub
parent 151159709d
commit dd2818a41d
66 changed files with 246 additions and 242 deletions

View File

@@ -8,7 +8,7 @@ _T = TypeVar("_T")
PyStringMap: Any
# Note: memo and _nil are internal kwargs.
def deepcopy(x: _T, memo: dict[int, Any] | None = None, _nil: Any = ...) -> _T: ...
def deepcopy(x: _T, memo: dict[int, Any] | None = None, _nil: Any = []) -> _T: ...
def copy(x: _T) -> _T: ...
class Error(Exception): ...