mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
Instead of assuming that the method is a bytecode object, and only supporting load of __name__, make the operation generic by delegating the load to the method object itself. Saves a bit of code size and fixes the case of attempting to load __name__ on a native method, see issue #4028.
4.0 KiB
4.0 KiB