Remove unnecessary quotes around forward references. (#3191)

This commit is contained in:
Rebecca Chen
2019-08-16 20:29:32 -07:00
committed by Jelle Zijlstra
parent b294782183
commit fab2ee0d7c
11 changed files with 12 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ if sys.version_info >= (3,):
class ContextDecorator:
def __call__(self, func: Callable[..., None]) -> Callable[..., ContextManager[None]]: ...
_U = TypeVar('_U', bound='ExitStack')
_U = TypeVar('_U', bound=ExitStack)
class ExitStack(ContextManager[ExitStack]):
def __init__(self) -> None: ...
@@ -79,7 +79,7 @@ if sys.version_info >= (3,):
if sys.version_info >= (3, 7):
from typing import Awaitable
_S = TypeVar('_S', bound='AsyncExitStack')
_S = TypeVar('_S', bound=AsyncExitStack)
_ExitCoroFunc = Callable[[Optional[Type[BaseException]],
Optional[BaseException],