mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
14 lines
208 B
Python
14 lines
208 B
Python
# Stubs for getpass
|
|
|
|
from typing import Optional, TextIO
|
|
|
|
|
|
def getpass(prompt: str = ..., stream: Optional[TextIO] = ...) -> str: ...
|
|
|
|
|
|
def getuser() -> str: ...
|
|
|
|
|
|
class GetPassWarning(UserWarning):
|
|
pass
|