1
0
forked from VimPlug/jedi

__file__ should be listed as a module attribute.

This commit is contained in:
Dave Halter
2014-11-13 00:24:40 +01:00
parent 408eee50dd
commit f0a3c37fa0
3 changed files with 2 additions and 4 deletions

View File

@@ -71,7 +71,6 @@ class GeneratorMixin(object):
return [self.iter_content()[index]]
class Generator(use_metaclass(CachedMetaClass, IterableWrapper, GeneratorMixin)):
"""Handling of `yield` functions."""
def __init__(self, evaluator, func, var_args):
@@ -155,7 +154,6 @@ class ListComprehension(Comprehension):
return self._evaluator.eval_element(self.eval_node())
class GeneratorComprehension(Comprehension, GeneratorMixin):
def iter_content(self):
return self._evaluator.eval_element(self.eval_node())