mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
Simplify, fix, and merge copy module (#1132)
* Simplify and add missing types for copy module. Error and error were missing. I also removed the internal arg memo. * Move copy module into 2and3 * Bring back internal kwargs
This commit is contained in:
1 parent
3594b0e607
commit
56e7aa6b48
3 files changed
+11
-20
No files matched your search
@@ -1,10 +0,0 @@
|
||||
# Stubs for copy
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import TypeVar, Dict, Any
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
def deepcopy(x: _T, memo: Dict[Any, Any] = ...) -> _T: ...
|
||||
def copy(x: _T) -> _T: ...
|
||||
Reference in new issue
Block a user