diff options
author | Michael Bentley <mikebentley15@gmail.com> | 2021-10-03 00:05:27 -0600 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-06-24 23:46:59 +1000 |
commit | d68532558d0f60737ccd5a38ae33f719333520a4 (patch) | |
tree | c66fd2830c2750c745d061b86c40c5cfa6fa91b4 /tests/micropython/native_fun_attrs.py | |
parent | 432b65f17849fdc94a96df4fd7db490257bd0a2c (diff) |
py/objclosure: Forward function attributes for closures.
Add .attr attribute which forwards to self->fun.
A closure is intended to wrap around a function object, so forward any
requested attributes to the wrapped function object.
Signed-off-by: Michael Bentley <mikebentley15@gmail.com>
Diffstat (limited to 'tests/micropython/native_fun_attrs.py')
0 files changed, 0 insertions, 0 deletions