diff options
author | David Lechner <david@lechnology.com> | 2023-01-12 19:51:45 -0600 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-05-19 12:06:06 +1000 |
commit | 8491eb190f2ea27f113c0cc7c0e619807a84f7ed (patch) | |
tree | bcd942be0d98eb80209d2028c673e7cfa7e5f54d /py/objstr.c | |
parent | eaccaa36771f784dfb458b8ba3591f11513824e6 (diff) |
py/objslice: Ensure slice is not hashable.
As per https://bugs.python.org/issue408326, the slice object should not be
hashable. Since MicroPython has an implicit fallback when the unary_op
slot is empty, we need to fill this slot.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py/objstr.c')
0 files changed, 0 insertions, 0 deletions