diff options
author | Dash Peters <dash.peters@gmail.com> | 2023-02-11 18:49:15 -0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-03-18 14:10:14 +1100 |
commit | 7dff38fdc190d7b731fad8319d2ae8aa13fde18a (patch) | |
tree | 21522a70d61e578e5e8a5dd94ff011736c92f167 /tools/verifygitlog.py | |
parent | cd8eea2ae99542257a33b29c9dfdc02b63fc1bd6 (diff) | |
download | micropython-7dff38fdc190d7b731fad8319d2ae8aa13fde18a.tar.gz micropython-7dff38fdc190d7b731fad8319d2ae8aa13fde18a.zip |
py/objdeque: Expand implementation to be doubly-ended and support iter.
Add `pop()`, `appendleft()`, and `extend()` methods, support iteration
and indexing, and initializing from an existing sequence.
Iteration and indexing (subscription) have independent configuration flags
to enable them. They are enabled by default at the same level that
collections.deque is enabled (the extra features level).
Also add tests for checking new behavior.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools/verifygitlog.py')
0 files changed, 0 insertions, 0 deletions