> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Empty Nested Block

#### Sourcery refactoring id: `remove-empty-nested-block`

#### Description:

Remove nested block which has no effect

#### Before:

```python
for i in range(3):
    pass
```

#### After:

```python
```

#### Explanation:

An `if` or `for` which is empty and has no effect should not be present in the
code. It clutters things up and makes it harder to see what the code is really
doing.
