unnecessary-dict-index-lookup / R1733#

Message emitted:

Unnecessary dictionary index lookup, use '%s' instead


Emitted when iterating over the dictionary items (key-item pairs) and accessing the value by index lookup. The value can be accessed directly instead.

Correct code:

# This is a placeholder for correct code for this message.

Additional details:

You can help us make the doc better by contributing !

Created by the refactoring checker.