1.1 --- a/inspector.py Wed Nov 23 15:25:48 2016 +0100
1.2 +++ b/inspector.py Wed Nov 23 15:47:45 2016 +0100
1.3 @@ -740,13 +740,15 @@
1.4 # Process the expression, obtaining any identified reference.
1.5
1.6 name_ref = self.process_structure_node(n.node)
1.7 - self.in_invocation = in_invocation
1.8 + self.in_invocation = False
1.9
1.10 # Process the arguments.
1.11
1.12 for arg in n.args:
1.13 self.process_structure_node(arg)
1.14
1.15 + self.in_invocation = in_invocation
1.16 +
1.17 # Detect class invocations.
1.18
1.19 if isinstance(name_ref, ResolvedNameRef) and name_ref.has_kind("<class>"):