mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
As suggested by @dpgeorge, factor out part of array_construct to allow it to be used for construction & extension. Note that extending with a known-length list (or tuple) goes through the slow path of calling array_extend once per element. Fixes issue #7408. Signed-off-by: Jeff Epler <jepler@gmail.com>
327 B
327 B