mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
10
stdlib/2.7/copy.pyi
Normal file
10
stdlib/2.7/copy.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
# Stubs for copy
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import TypeVar
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
def deepcopy(x: _T) -> _T: ...
|
||||
def copy(x: _T) -> _T: ...
|
||||
Reference in New Issue
Block a user