Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -2,15 +2,15 @@ from typing import TypeVar, Generic, Any, Iterable, Iterator, Callable, Tuple, O
from types import TracebackType
import sys
FIRST_COMPLETED = ... # type: str
FIRST_EXCEPTION = ... # type: str
ALL_COMPLETED = ... # type: str
PENDING = ... # type: Any
RUNNING = ... # type: Any
CANCELLED = ... # type: Any
CANCELLED_AND_NOTIFIED = ... # type: Any
FINISHED = ... # type: Any
LOGGER = ... # type: Any
FIRST_COMPLETED: str
FIRST_EXCEPTION: str
ALL_COMPLETED: str
PENDING: Any
RUNNING: Any
CANCELLED: Any
CANCELLED_AND_NOTIFIED: Any
FINISHED: Any
LOGGER: Any
class Error(Exception): ...
class CancelledError(Error): ...

View File

@@ -2,7 +2,7 @@ from typing import Any, Callable, Optional, Tuple
from ._base import Future, Executor
import sys
EXTRA_QUEUED_CALLS = ... # type: Any
EXTRA_QUEUED_CALLS: Any
if sys.version_info >= (3,):
class BrokenProcessPool(RuntimeError): ...