Skip to content

Commit 0dd57d0

Browse files
AlexWaygoodjacobtylerwalls
authored andcommitted
fix a docs typo
1 parent 9513972 commit 0dd57d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/user_guide/checkers/extensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Confusing Elif checker Messages
118118
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
119119
:confusing-consecutive-elif (R5601): *Consecutive elif with differing indentation level, consider creating a function to separate the inner elif*
120120
Used when an elif statement follows right after an indented block which
121-
itself ends with if or elif. It may not be ovious if the elif statement was
121+
itself ends with if or elif. It may not be obvious if the elif statement was
122122
willingly or mistakenly unindented. Extracting the indented if statement into
123123
a separate function might avoid confusion and prevent errors.
124124

pylint/extensions/confusing_elif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ConfusingConsecutiveElifChecker(BaseChecker):
2727
" elif",
2828
"confusing-consecutive-elif",
2929
"Used when an elif statement follows right after an indented block which itself ends with if or elif. "
30-
"It may not be ovious if the elif statement was willingly or mistakenly unindented. "
30+
"It may not be obvious if the elif statement was willingly or mistakenly unindented. "
3131
"Extracting the indented if statement into a separate function might avoid confusion and prevent "
3232
"errors.",
3333
)

0 commit comments

Comments
 (0)