mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Remove unnecessary quotes around forward references. (#3191)
This commit is contained in:
committed by
Jelle Zijlstra
parent
b294782183
commit
fab2ee0d7c
@@ -16,7 +16,7 @@ SEEK_SET: int
|
||||
SEEK_CUR: int
|
||||
SEEK_END: int
|
||||
|
||||
_T = TypeVar('_T', bound='IOBase')
|
||||
_T = TypeVar('_T', bound=IOBase)
|
||||
|
||||
open = builtins.open
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ from typing import (
|
||||
)
|
||||
from types import TracebackType
|
||||
|
||||
_PT = TypeVar('_PT', bound='Pool')
|
||||
_PT = TypeVar('_PT', bound=Pool)
|
||||
_S = TypeVar('_S')
|
||||
_T = TypeVar('_T')
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ from types import TracebackType
|
||||
import os
|
||||
import sys
|
||||
|
||||
_P = TypeVar('_P', bound='PurePath')
|
||||
_P = TypeVar('_P', bound=PurePath)
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
_PurePathBase = os.PathLike[str]
|
||||
|
||||
Reference in New Issue
Block a user