2016-10-06 | Paul Boddie | raw files shortlog changelog graph | Prevent parts of attribute expressions from being associated with invocations. | |
inspector.py (file) |
1.1 --- a/inspector.py Thu Oct 06 14:29:02 2016 +0200 1.2 +++ b/inspector.py Thu Oct 06 14:42:24 2016 +0200 1.3 @@ -364,7 +364,11 @@ 1.4 1.5 # Obtain any completed chain and return the reference to it. 1.6 1.7 + in_invocation = self.in_invocation 1.8 + self.in_invocation = False 1.9 name_ref = self.process_attribute_chain(n) 1.10 + self.in_invocation = in_invocation 1.11 + 1.12 if self.have_access_expression(n): 1.13 return name_ref 1.14