Complete getpass stubs

This commit is contained in:
Martin Geisler committed 2016-03-15 10:15:31 +01:00
1 parent c40da79e8f
commit c0b9786fee
1 file changed
+9 -1
+9 -1
View File
@@ -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