Skip to content

Commit 0e3377e

Browse files
Reword message description.
Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 08eceb9 commit 0e3377e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pylint/checkers/typecheck.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,7 @@ def _missing_member_hint(
400400
"Emitted when the second argument of an isinstance call is not a type.",
401401
),
402402
"W1117": (
403-
"The keyword argument %r will be added to the keyword variadic "
404-
"parameter dictionary %r since it has the same name as a positional-only parameter",
403+
"%r will be included in %r since a positional-only parameter with this name already exists",
405404
"kwarg-superseded-by-positional-arg",
406405
"Emitted when a function is called with a keyword argument that has the "
407406
"same name as a positional-only parameter and the function contains a "
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
kwarg-superseded-by-positional-arg:26:0:26:62::The keyword argument 'apple' will be added to the keyword variadic parameter dictionary '**kwargs' since it has the same name as a positional-only parameter:HIGH
2-
kwarg-superseded-by-positional-arg:39:0:39:24::The keyword argument 'apple' will be added to the keyword variadic parameter dictionary '**kwargs' since it has the same name as a positional-only parameter:HIGH
1+
kwarg-superseded-by-positional-arg:26:0:26:62::'apple' will be included in '**kwargs' since a positional-only parameter with this name already exists:HIGH
2+
kwarg-superseded-by-positional-arg:39:0:39:24::'apple' will be included in '**kwargs' since a positional-only parameter with this name already exists:HIGH

0 commit comments

Comments
 (0)