mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 05:30:27 +01:00
The empty tuple is usually a constant object, but named tuples must be allocated to allow modification. Added explicit allocation to fix this. Also added a regression test to verify creating an empty named tuple works. Fixes issue #7870. Signed-off-by: Lars Haulin <lars.haulin@gmail.com>
7.3 KiB
7.3 KiB