forked from VimPlug/jedi
Fix python 2 string iterators.
This commit is contained in:
@@ -237,7 +237,8 @@ class Comprehension(AbstractSequence):
|
||||
|
||||
@memoize_default()
|
||||
def _get_comp_for_context(self, parent_context, comp_for):
|
||||
return parent_context.create_context(comp_for)
|
||||
# TODO shouldn't this be part of create_context?
|
||||
return CompForContext.from_comp_for(parent_context, comp_for)
|
||||
|
||||
def _nested(self, comp_fors, parent_context=None):
|
||||
evaluator = self.evaluator
|
||||
|
||||
Reference in New Issue
Block a user