mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -4,5 +4,5 @@ from typing import Any, IO
|
||||
|
||||
class GetPassWarning(UserWarning): ...
|
||||
|
||||
def getpass(prompt: str = 'Password: ', stream: IO[Any] = None) -> str: ...
|
||||
def getpass(prompt: str = ..., stream: IO[Any] = ...) -> str: ...
|
||||
def getuser() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user