Klocwork Documentation | 2026.1
PY3.R1733
Unnecessary dict index lookup
Emitted when iterating over the dictionary items (key-item pairs) and accessing the value by index lookup. The value can be accessed directly instead.
Noncompliant Code:
Compliant Code: