2013-11-29 | Paul Boddie | raw files shortlog changelog graph | Changed the argument ordering for "applystaticmethod". | syspython-as-target |
micropython/syspython.py (file) |
1.1 --- a/micropython/syspython.py Fri Nov 29 01:04:20 2013 +0100 1.2 +++ b/micropython/syspython.py Fri Nov 29 01:17:17 2013 +0100 1.3 @@ -807,8 +807,8 @@ 1.4 1.5 elif isinstance(context, Class) and value: 1.6 op = "applystaticmethod" 1.7 - args.insert(0, quoted_ref(context)) 1.8 - args[1] = quoted_ref(value) 1.9 + args[0] = quoted_ref(value) 1.10 + args.insert(1, quoted_ref(context)) 1.11 1.12 # Plain method invocations. 1.13