.. _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*


**Correct code:**

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

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


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