Author: Raffael Tfirst <[email protected]>
Branch: py3.5-async
Changeset: r85586:54c81e3580eb
Date: 2016-07-06 19:43 +0200
http://bitbucket.org/pypy/pypy/changeset/54c81e3580eb/
Log: Add missing self on calls
diff --git a/pypy/interpreter/astcompiler/astbuilder.py
b/pypy/interpreter/astcompiler/astbuilder.py
--- a/pypy/interpreter/astcompiler/astbuilder.py
+++ b/pypy/interpreter/astcompiler/astbuilder.py
@@ -515,11 +515,11 @@
def handle_async_stmt(self, node):
ch = node.get_child(1)
if ch.type == syms.funcdef:
- return handle_funcdef_impl(ch, 1)
+ return self.handle_funcdef_impl(ch, 1)
elif ch.type == syms.with_stmt:
- return handle_with_stmt(ch, 1)
+ return self.handle_with_stmt(ch, 1)
elif ch.type == syms.for_stmt:
- return handle_for_stmt(ch, 1)
+ return self.handle_for_stmt(ch, 1)
else:
raise AssertionError("invalid async statement")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit