diff options
| author | Damien George <damien@micropython.org> | 2021-05-14 22:05:03 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-05-16 11:06:46 +1000 |
| commit | 47e6c52f0c2bf058c5d099dd2993192e0978e172 (patch) | |
| tree | c2399be1df2dbd0c57fbc707dcfb0c96c0529f2b /py/objboundmeth.c | |
| parent | 605b74f390e1ce9acdbca32d0b3215d37b96852e (diff) | |
tests/cpydiff: Add test and workaround for function.__module__ attr.
MicroPython does not store any reference from a function object to the
module it was defined in, but there is a way to use function.__globals__ to
indirectly get the module.
See issue #7259.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objboundmeth.c')
0 files changed, 0 insertions, 0 deletions
