1.1 --- a/common.py Sat Nov 19 23:15:52 2016 +0100
1.2 +++ b/common.py Sat Nov 19 23:16:37 2016 +0100
1.3 @@ -311,16 +311,16 @@
1.4
1.5 return self.process_structure_node(assignment)
1.6
1.7 - def process_assignment_for_function(self, original_name, name):
1.8 + def process_assignment_for_function(self, original_name, source):
1.9
1.10 """
1.11 Return an assignment operation making 'original_name' refer to the given
1.12 - 'name'.
1.13 + 'source'.
1.14 """
1.15
1.16 assignment = compiler.ast.Assign(
1.17 [compiler.ast.AssName(original_name, "OP_ASSIGN")],
1.18 - compiler.ast.Name(name)
1.19 + source
1.20 )
1.21
1.22 return self.process_structure_node(assignment)