py__iter__ now takes a contextualized_node argument and raises the analysis errors itself

This commit is contained in:
Dave Halter committed 2018-11-23 18:22:38 +01:00
1 parent 12a0357f6b
commit 021d1bc568
10 files changed
+50 -50

No files matched your search

+1 -1
View File
@@ -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)