mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Fix type var completions so that there's at least no error
This commit is contained in:
@@ -308,7 +308,9 @@ def union4(x: U[int, str]):
|
||||
|
||||
|
||||
TYPE_VAR = typing.TypeVar('TYPE_VAR')
|
||||
|
||||
# TODO there should at least be some results.
|
||||
#? []
|
||||
TYPE_VAR.
|
||||
|
||||
class WithTypeVar(typing.Generic[TYPE_VAR]):
|
||||
def lala(self) -> TYPE_VAR:
|
||||
|
||||
Reference in New Issue
Block a user