summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class_super_closure.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-27 11:27:08 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-27 11:27:08 +1100
commit40c1272e5516b8d847118c06c7d222410075fa09 (patch)
treed622af41e37b0230c1736676ab23374a93d21b51 /tests/basics/class_super_closure.py
parenta0973b09ce203be95729ed8215f9333a29caa35d (diff)
downloadmicropython-40c1272e5516b8d847118c06c7d222410075fa09.tar.gz
micropython-40c1272e5516b8d847118c06c7d222410075fa09.zip
py/compile: When compiling super(), handle closed-over self variable.
The self variable may be closed-over in the function, and in that case the call to super() should load the contents of the closure cell using LOAD_DEREF (before this patch it would just load the cell directly).
Diffstat (limited to 'tests/basics/class_super_closure.py')
0 files changed, 0 insertions, 0 deletions