Skip to content

Commit

Permalink
use itervalues
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee committed May 6, 2024
1 parent 00e4bb4 commit f46ac6d
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 f46ac6d

Please sign in to comment.