Skip to content

Commit

Permalink
use itervalues
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee committed Mar 29, 2024
1 parent 951793f commit 24722ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions can/parser_pyx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24722ba

Please sign in to comment.