aboutsummaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nodes.py b/nodes.py
index e8f1f40..8e9fbf0 100644
--- a/nodes.py
+++ b/nodes.py
@@ -141,9 +141,9 @@ class FunctionCall(Statement):
return self.func_name.value
class MethodCall(Statement):
- def __init__(self, object_name, method_name, arguments, lineno):
+ def __init__(self, invokable, method_name, arguments, lineno):
Statement.__init__(self, lineno)
- self.object_name = object_name
+ self.invokable = invokable
self.method_name = method_name
self.arguments = arguments