diff options
author | Damien George <damien@micropython.org> | 2024-02-16 16:55:39 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-20 10:56:24 +1100 |
commit | 0c7ccb8807581f3654f70ee9ea86d3ca017f7ea2 (patch) | |
tree | 4d03320a76e91b7d9bae0757fa6a72bca5bd44ad /tests/basics/builtin_compile.py | |
parent | 6d403eb6972b7f6137838d89dba1ae3f76846c8b (diff) |
py/objfun: Support __name__ on native functions and generators.
This is now easy to support, since the first machine-word of a native
function tells how to find the prelude, from which the function name can be
extracted in the same way as for bytecode.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/builtin_compile.py')
0 files changed, 0 insertions, 0 deletions