Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/2and3/formatter.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# and https://github.com/python/cpython/blob/master/Lib/formatter.py
from typing import Any, IO, List, Optional, Tuple

AS_IS = None
AS_IS: None
_FontType = Tuple[str, bool, bool, bool]
_StylesType = Tuple[Any, ...]

Expand Down
8 changes: 3 additions & 5 deletions stdlib/3/asyncio/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,9 @@ if sys.version_info >= (3, 7):
run as run,
)


# TODO: It should be possible to instantiate these classes, but mypy
# currently disallows this.
# See https://github.com/python/mypy/issues/1843
SelectorEventLoop: Type[AbstractEventLoop]
if sys.platform != 'win32':
# This is already imported above on Windows.
SelectorEventLoop: Type[AbstractEventLoop]

# TODO: AbstractChildWatcher (UNIX only)

Expand Down