Skip to content

Commit 0cdc6e8

Browse files
authored
Fix typo in multiple-statements message text (#10872)
* Fix typo in multiple-statements message text * Add news fragment for #10870 * Regenerate docs for multiple-statements message text * Revert "Add news fragment for #10870" This reverts commit c3378ff.
1 parent f91da97 commit 0cdc6e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/user_guide/checkers/features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ Format checker Messages
553553
:trailing-newlines (C0305): *Trailing newlines*
554554
Used when there are trailing blank lines in a file.
555555
:multiple-statements (C0321): *More than one statement on a single line*
556-
Used when more than on statement are found on the same line.
556+
Used when more than one statement is found on the same line.
557557
:superfluous-parens (C0325): *Unnecessary parens after %r keyword*
558558
Used when a single item in parentheses follows an if, for, or other keyword.
559559
:mixed-line-endings (C0327): *Mixed line endings LF and CRLF*

pylint/checkers/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"C0321": (
9393
"More than one statement on a single line",
9494
"multiple-statements",
95-
"Used when more than on statement are found on the same line.",
95+
"Used when more than one statement is found on the same line.",
9696
{"scope": WarningScope.NODE},
9797
),
9898
"C0325": (

0 commit comments

Comments
 (0)