Fix click.getchar return type (#1473)

This commit is contained in:
Max
2018-06-11 15:54:56 -07:00
committed by Guido van Rossum
parent bdb06b5b81
commit a753abafcf

View File

@@ -6,6 +6,7 @@ from typing import (
IO,
List,
Optional,
Text,
overload,
Tuple,
TypeVar,
@@ -157,7 +158,7 @@ def launch(url: str, wait: bool = ..., locate: bool = ...) -> int:
...
def getchar(echo: bool = ...) -> str:
def getchar(echo: bool = ...) -> Text:
...