Fix the type of ord on python 2 (#2735)

It looks like it got messed up in #2533
This commit is contained in:
Michael J. Sullivan authored and GitHub committed 2019-01-10 19:24:51 -06:00
1 parent be99a2a5f0
commit c75d42ef23
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1305,7 +1305,7 @@ elif sys.version_info >= (3,):
else:
def open(file: Union[unicode, int], mode: unicode = ..., buffering: int = ...) -> BinaryIO: ...
def ord(c: Union[str, bytes]) -> int: ...
def ord(c: Union[Text, bytes]) -> int: ...
if sys.version_info >= (3,):
def print(*values: Any, sep: Text = ..., end: Text = ..., file: Optional[IO[str]] = ..., flush: bool = ...) -> None: ...
else: