mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 18:31:14 +08:00
Remove unnecessary quotes around forward references. (#3191)
This commit is contained in:
committed by
Jelle Zijlstra
parent
b294782183
commit
fab2ee0d7c
2
third_party/2/pathlib2.pyi
vendored
2
third_party/2/pathlib2.pyi
vendored
@@ -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]
|
||||
|
||||
2
third_party/2and3/pynamodb/attributes.pyi
vendored
2
third_party/2and3/pynamodb/attributes.pyi
vendored
@@ -5,7 +5,7 @@ from datetime import datetime
|
||||
_T = TypeVar('_T')
|
||||
_KT = TypeVar('_KT')
|
||||
_VT = TypeVar('_VT')
|
||||
_MT = TypeVar('_MT', bound='MapAttribute')
|
||||
_MT = TypeVar('_MT', bound=MapAttribute)
|
||||
|
||||
class Attribute(Generic[_T]):
|
||||
attr_name: Optional[Text]
|
||||
|
||||
Reference in New Issue
Block a user