diff --git a/README.md b/README.md index 71f50f8..dd4f4b8 100644 --- a/README.md +++ b/README.md @@ -724,10 +724,6 @@ def f(x, *args, z, **kwargs): # f(x=1, y=2, z=3) | f(1, y=2, z=3) | f(1, 2, z=3 ``` ### Other Uses -```python -head, *body, tail = -``` - ```python = [* [, ...]] = {* [, ...]} @@ -735,6 +731,10 @@ head, *body, tail = = {** [, ...]} ``` +```python +head, *body, tail = +``` + Inline ------ diff --git a/index.html b/index.html index 2f8f4dd..c6db986 100644 --- a/index.html +++ b/index.html @@ -732,13 +732,13 @@ func(*args, **kwargs) def f(x, *args, z, **kwargs): # f(x=1, y=2, z=3) | f(1, y=2, z=3) | f(1, 2, z=3)

Other Uses

-
head, *body, tail = <collection>
-
<list>  = [*<collection> [, ...]]
 <set>   = {*<collection> [, ...]}
 <tuple> = (*<collection>, [...])
 <dict>  = {**<dict> [, ...]}
 
+
head, *body, tail = <collection>
+

#Inline

Lambda

<function> = lambda: <return_value>