1.1 --- a/inspector.py Mon Oct 17 23:26:22 2016 +0200
1.2 +++ b/inspector.py Wed Oct 19 16:37:01 2016 +0200
1.3 @@ -593,11 +593,13 @@
1.4 # Copy and propagate the parameters.
1.5
1.6 self.importer.function_parameters[function_name] = \
1.7 - self.function_parameters[function_name] = argnames[:]
1.8 + self.function_parameters[function_name] = argnames[:]
1.9
1.10 # Define all arguments/parameters in the local namespace.
1.11
1.12 - locals = self.function_locals[function_name] = {}
1.13 + locals = \
1.14 + self.importer.function_locals[function_name] = \
1.15 + self.function_locals[function_name] = {}
1.16
1.17 # Insert "self" into method locals.
1.18