mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-07 15:54:32 +08:00
Change some TypeVar base classes
This commit is contained in:
1 parent
f5f9fc1955
commit
2ec503d6eb
3 files changed
+10
-6
No files matched your search
@@ -311,6 +311,9 @@ TYPE_VAR = typing.TypeVar('TYPE_VAR')
|
||||
# TODO there should at least be some results.
|
||||
#? []
|
||||
TYPE_VAR.
|
||||
#! ["TYPE_VAR = typing.TypeVar('TYPE_VAR')"]
|
||||
TYPE_VAR
|
||||
|
||||
|
||||
class WithTypeVar(typing.Generic[TYPE_VAR]):
|
||||
def lala(self) -> TYPE_VAR:
|
||||
|
||||
Reference in new issue
Block a user