mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -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): ...
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user