1
0
forked from VimPlug/jedi

Fix assert issues in combination with comprehensions.

This commit is contained in:
Dave Halter
2014-12-02 17:55:42 +01:00
parent 5f89ceb385
commit b9e7a2eb95

View File

@@ -1322,3 +1322,8 @@ class CompFor(Simple):
def scope_names_generator(self, position):
yield self, []
@property
def asserts(self):
"""Since it's a scope, it can be asked for asserts."""
return []