mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
@@ -275,7 +275,7 @@ class Xid:
|
||||
def __getitem__(self, __index): ...
|
||||
def __len__(self): ...
|
||||
|
||||
_cursor = cursor
|
||||
_cursor: TypeAlias = cursor
|
||||
_T_cur = TypeVar("_T_cur", bound=_cursor)
|
||||
|
||||
class connection:
|
||||
|
||||
Reference in New Issue
Block a user