From 24722ba685e0c9737c645d642b2cd62f1bd97dd1 Mon Sep 17 00:00:00 2001 From: deanlee Date: Fri, 29 Mar 2024 21:13:45 +0800 Subject: [PATCH] use itervalues --- can/parser_pyx.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/can/parser_pyx.pyx b/can/parser_pyx.pyx index 724b5e4875..084ef9af77 100644 --- a/can/parser_pyx.pyx +++ b/can/parser_pyx.pyx @@ -74,8 +74,8 @@ cdef class CANParser: # [nanos, [[address, 0, data, src], ...]] # [[nanos, [[address, 0, data, src], ...], ...]] - for v in self.vl_all.values(): - for l in v.values(): # no-cython-lint + for v in self.vl_all.itervalues(): + for l in v.itervalues(): # no-cython-lint l.clear() cdef vector[SignalValue] new_vals