mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
py__iter__ now takes a contextualized_node argument and raises the analysis errors itself
This commit is contained in:
@@ -207,7 +207,7 @@ class ReversedObject(AbstractObjectOverwrite, ContextWrapper):
|
||||
return self._wrapped_context
|
||||
|
||||
@publish_method('__iter__')
|
||||
def py__iter__(self):
|
||||
def py__iter__(self, contextualized_node=None):
|
||||
return self._iter_list
|
||||
|
||||
@publish_method('next', python_version_match=2)
|
||||
|
||||
Reference in New Issue
Block a user