mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
8
stdlib/2.7/getpass.pyi
Normal file
8
stdlib/2.7/getpass.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for getpass (Python 2)
|
||||
|
||||
from typing import Any, IO
|
||||
|
||||
class GetPassWarning(UserWarning): ...
|
||||
|
||||
def getpass(prompt: str = 'Password: ', stream: IO[Any] = None) -> str: ...
|
||||
def getuser() -> str: ...
|
||||
Reference in New Issue
Block a user