summaryrefslogtreecommitdiff
path: root/tests/internal_bench/class_create-4-classmethod.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-07-06 08:14:31 +0100
committerDamien George <damien@micropython.org>2025-07-25 11:01:16 +1000
commit87b7a9d7349c28b3acb13815bb63484d12203895 (patch)
tree7c6a50d0c511b69a5d8124f9d11a3a786b38fef4 /tests/internal_bench/class_create-4-classmethod.py
parentee4f27affa2a4cbf940081da4bdfa36d22351461 (diff)
stm32: Add casts when printing small integers.
All these arguments are of type `mp_{u,}int_t`, but the actual value is always a small integer. Cast it so that it can format with the `%d/%u` formatter. Before, the compiler plugin produced an error in the PYBD_SF6 build, which is a nanboxing build with 64-bit ints. Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/internal_bench/class_create-4-classmethod.py')
0 files changed, 0 insertions, 0 deletions