mirror of
https://github.com/python/cpython.git
synced 2025-09-22 08:23:36 +00:00
gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382)
The right term is "parameters".
This commit is contained in:
parent
f28cbc9fd3
commit
dbca27cfca
10 changed files with 72 additions and 68 deletions
|
@ -322,7 +322,7 @@ class CodeopTests(unittest.TestCase):
|
|||
dedent("""\
|
||||
def foo(x,x):
|
||||
pass
|
||||
"""), "duplicate argument 'x' in function definition")
|
||||
"""), "duplicate parameter 'x' in function definition")
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue