.. _return-in-init: return-in-init / E0101 ====================== **Message emitted:** ``Explicit return in __init__`` **Description:** *Used when the special class method __init__ has an explicit return value.* **Problematic code:** .. literalinclude:: /data/messages/r/return-in-init/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/r/return-in-init/good.py :language: python **Related links:** - `__init__ method documentation `_ Created by the `basic `__ checker.