mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-18 04:22:25 +08:00
Change numerous default values to ... (#1722)
This is the convention, and some default values (e.g. strings) apparently break pytype.
This commit is contained in:
committed by
Matthias Kramm
parent
66821993f6
commit
54dd6ba27c
@@ -3,7 +3,7 @@
|
||||
from typing import Optional, TextIO
|
||||
|
||||
|
||||
def getpass(prompt: str = ..., stream: Optional[TextIO] = None) -> str: ...
|
||||
def getpass(prompt: str = ..., stream: Optional[TextIO] = ...) -> str: ...
|
||||
|
||||
|
||||
def getuser() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user