mirror of
https://github.com/micropython/micropython.git
synced 2025-09-07 10:20:52 +02:00
12 lines
312 B
Python
12 lines
312 B
Python
"""
|
|
categories: Modules,array
|
|
description: Overflow checking is not implemented
|
|
cause: MicroPython implements implicit truncation in order to reduce code size and execution time
|
|
workaround: If CPython compatibility is needed then mask the value explicitly
|
|
"""
|
|
|
|
import array
|
|
|
|
a = array.array("b", [257])
|
|
print(a)
|