mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Remove unnecessary quotes around forward references. (#3191)
This commit is contained in:
committed by
Jelle Zijlstra
parent
b294782183
commit
fab2ee0d7c
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user