diff --git a/docs/linter.md b/docs/linter.md index 6d009e243d..d1e762c652 100644 --- a/docs/linter.md +++ b/docs/linter.md @@ -188,7 +188,7 @@ IndexError: list index out of range ``` ```console -$ python -c 'next(iter(range(0)))[0]' +$ python -c 'next(iter(range(0)))' Traceback (most recent call last): File "", line 1, in StopIteration