summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2024-06-20 08:22:56 -0400
committerDamien George <damien@micropython.org>2024-06-21 14:27:33 +1000
commit5040b13dd47e1d3dad401f45ba23f4b17fd2d670 (patch)
tree0e04b79d00368514452399f9ff14ac4868758073 /py
parent88513d12268f5a5c3f3488f1a2d70cb605129537 (diff)
downloadmicropython-5040b13dd47e1d3dad401f45ba23f4b17fd2d670.tar.gz
micropython-5040b13dd47e1d3dad401f45ba23f4b17fd2d670.zip
py/objdeque: Fix deque type flags based on option settings.
This fixes a minor issue in the changes made by 7dff38fdc190d7b731fad8319d2ae8aa13fde18a: the type flags for deque were meant to be conditionalized based on MICROPY_PY_COLLECTIONS_DEQUE_ITER, but the computed conditionalized value wasn't used. Signed-off-by: Dan Halbert <halbert@halwitz.org>
Diffstat (limited to 'py')
-rw-r--r--py/objdeque.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objdeque.c b/py/objdeque.c
index 583537017f..2ad771284d 100644
--- a/py/objdeque.c
+++ b/py/objdeque.c
@@ -263,7 +263,7 @@ static MP_DEFINE_CONST_DICT(deque_locals_dict, deque_locals_dict_table);
MP_DEFINE_CONST_OBJ_TYPE(
mp_type_deque,
MP_QSTR_deque,
- MP_TYPE_FLAG_ITER_IS_GETITER,
+ DEQUE_TYPE_FLAGS,
make_new, deque_make_new,
unary_op, deque_unary_op,
DEQUE_TYPE_SUBSCR