.. _not-a-mapping:

not-a-mapping / E1134
=====================

**Message emitted:**

Non-mapping value %s is used in a mapping context

**Description:**

*Used when a non-mapping value is used in place where mapping is expected*

**Problematic code:**

.. literalinclude:: /data/messages/n/not-a-mapping/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/n/not-a-mapping/good.py
   :language: python



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