Skip to content

Commit 8858d6c

Browse files
committed
Splat
1 parent d979cae commit 8858d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@ def add(*a):
485485

486486
#### Legal argument combinations with calls:
487487
```python
488-
def f(*args) # f(1, 2, 3)
489-
def f(x, *args) # f(1, 2, 3)
488+
def f(*args): # f(1, 2, 3)
489+
def f(x, *args): # f(1, 2, 3)
490490
def f(*args, z) # f(1, 2, z=3)
491491
def f(x, *args, z) # f(1, 2, z=3)
492492
```

0 commit comments

Comments
 (0)