Complete getpass stubs

This commit is contained in:
Martin Geisler
2016-03-15 10:15:31 +01:00
parent c40da79e8f
commit c0b9786fee

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