Try to use yield from instead of yield, if possible

This commit is contained in:
Dave Halter committed 2020-07-19 13:34:58 +02:00
1 parent 5bc174bf8d
commit 9957565b37
21 files changed
+49 -97

No files matched your search

+1 -2
View File
@@ -71,5 +71,4 @@ class MixedModuleContext(ModuleContext):
)
for mixed_object in self.mixed_values:
for filter in mixed_object.get_filters(until_position, origin_scope):
yield filter
yield from mixed_object.get_filters(until_position, origin_scope)