2013-10-31 | Paul Boddie | raw files shortlog changelog graph | Fixed constant attribute access invocation. | syspython-as-target |
micropython/syspython.py (file) |
1.1 --- a/micropython/syspython.py Thu Oct 31 16:31:00 2013 +0100 1.2 +++ b/micropython/syspython.py Thu Oct 31 16:51:59 2013 +0100 1.3 @@ -534,7 +534,7 @@ 1.4 # operation setting the context is needed. 1.5 1.6 if node._set_context == "set": 1.7 - return compiler.ast.CallFunc(special_name(opconstant), accessor) 1.8 + return compiler.ast.CallFunc(special_name(opconstant), [accessor]) 1.9 else: 1.10 return value 1.11