.. _not-an-iterable:

not-an-iterable / E1133
=======================

**Message emitted:**

Non-iterable value %s is used in an iterating context

**Description:**

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

**Problematic code:**

.. literalinclude:: /data/messages/n/not-an-iterable/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/n/not-an-iterable/good.py
   :language: python



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