summaryrefslogtreecommitdiff
path: root/py/objstr.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2023-01-12 19:51:45 -0600
committerDamien George <damien@micropython.org>2023-05-19 12:06:06 +1000
commit8491eb190f2ea27f113c0cc7c0e619807a84f7ed (patch)
treebcd942be0d98eb80209d2028c673e7cfa7e5f54d /py/objstr.c
parenteaccaa36771f784dfb458b8ba3591f11513824e6 (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