mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Complete getpass stubs
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Stubs for getpass
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
from typing import TextIO
|
||||
|
||||
|
||||
def getpass(prompt: str = ..., stream: TextIO = None): ...
|
||||
|
||||
|
||||
def getuser() -> str: ...
|
||||
|
||||
|
||||
class GetPassWarning(UserWarning):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user