.. _dict-iter-missing-items:

dict-iter-missing-items / E1141
===============================

**Message emitted:**

``Unpacking a dictionary in iteration without calling .items()``

**Description:**

*Emitted when trying to iterate through a dict without calling .items()*

**Problematic code:**

.. literalinclude:: /data/messages/d/dict-iter-missing-items/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/d/dict-iter-missing-items/good.py
   :language: python





Created by the `typecheck <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/typecheck.py>`__ checker.