1.1 --- a/inspector.py Sat Nov 19 01:13:17 2016 +0100
1.2 +++ b/inspector.py Sat Nov 19 18:17:54 2016 +0100
1.3 @@ -1410,6 +1410,11 @@
1.4 requirements for the given 'path' and 'args'.
1.5 """
1.6
1.7 + # Class and module initialisation is ultimately combined.
1.8 +
1.9 + if not self.in_function:
1.10 + path = self.name
1.11 +
1.12 init_item(self.function_targets, path, lambda: [0, 0])
1.13 t = self.function_targets[path]
1.14 t[0] += 1
1.15 @@ -1424,6 +1429,11 @@
1.16
1.17 "Deallocate temporary argument storage for the given 'path' and 'args'."
1.18
1.19 + # Class and module initialisation is ultimately combined.
1.20 +
1.21 + if not self.in_function:
1.22 + path = self.name
1.23 +
1.24 self.function_targets[path][0] -= 1
1.25 self.function_arguments[path][0] -= len(args) + 1
1.26