Kaydet (Commit) 47e21e15 authored tarafından Anthony Sottile's avatar Anthony Sottile

More complete examples

üst ed8212ba
...@@ -130,7 +130,19 @@ following change: ...@@ -130,7 +130,19 @@ following change:
def f( def f(
- *args - *args
+ *args, + *args,
): ): pass
def g(
- **kwargs
+ **kwargs,
): pass
def h(
- *, kw=1
+ *, kw=1,
): pass
``` ```
Note that this would cause a **`SyntaxError`** in earlier python versions. Note that this would cause a **`SyntaxError`** in earlier python versions.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment