mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-09 05:22:19 +08:00
Obviously cannot return from a generator with an empty list
This commit is contained in:
@@ -380,7 +380,7 @@ class AnnotatedClass(ClassContext):
|
||||
def find_annotation_variables(self):
|
||||
arglist = self.tree_node.get_super_arglist()
|
||||
if arglist is None:
|
||||
return []
|
||||
return
|
||||
|
||||
for stars, node in unpack_arglist(arglist):
|
||||
if stars:
|
||||
|
||||
Reference in New Issue
Block a user