mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 15:16:54 +08:00
8
stdlib/2/getpass.pyi
Normal file
8
stdlib/2/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 = ..., stream: IO[Any] = ...) -> str: ...
|
||||
def getuser() -> str: ...
|
||||
Reference in New Issue
Block a user