Files
micropython/tests/basics
Jeff Epler 0a98f3a911 py/objarray: Allow extending array with any iterable.
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>
2025-06-10 15:32:54 +10:00
..
2014-03-31 18:02:22 +01:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2017-05-29 11:36:05 +03:00
2014-02-10 07:13:32 +02:00
2014-04-13 17:46:30 +01:00