.. _invalid-slice-step: invalid-slice-step / E1144 ========================== **Message emitted:** ``Slice step cannot be 0`` **Description:** *Used when a slice step is 0 and the object doesn't implement a custom __getitem__ method.* **Problematic code:** .. literalinclude:: /data/messages/i/invalid-slice-step/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/i/invalid-slice-step/good.py :language: python Created by the `typecheck `__ checker.