.. _nonlocal-without-binding: nonlocal-without-binding / E0117 ================================ **Message emitted:** ``nonlocal name %s found without binding`` **Description:** *Emitted when a nonlocal variable does not have an attached name somewhere in the parent scopes* **Problematic code:** .. literalinclude:: /data/messages/n/nonlocal-without-binding/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/n/nonlocal-without-binding/good.py :language: python Created by the `basic `__ checker.