mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-28315: Improve code examples in docs (GH-1372)
Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
This commit is contained in:
parent
a5c62a8e9f
commit
8856940cf2
12 changed files with 30 additions and 30 deletions
|
@ -905,7 +905,7 @@ keyword arguments (and any ``**expression`` arguments -- see below). So::
|
|||
2 1
|
||||
>>> f(a=1, *(2,))
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in ?
|
||||
File "<stdin>", line 1, in <module>
|
||||
TypeError: f() got multiple values for keyword argument 'a'
|
||||
>>> f(1, *(2,))
|
||||
1 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue