mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-28 09:25:33 +08:00
54dd6ba27c
This is the convention, and some default values (e.g. strings) apparently break pytype.
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
|