Obviously cannot return from a generator with an empty list
This commit is contained in:
1 parent
bd5af5f148
commit
b3ffc092cd
1 file changed
+1
-1
@@ -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