mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
Complete getpass stubs
This commit is contained in:
1 parent
c40da79e8f
commit
c0b9786fee
1 file changed
+9
-1
@@ -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