Merge pull request #18 from felixonmars/patch-1
Fix the python3 demo in README
This commit is contained in:
commit
2ea78adcd4
@ -22,7 +22,7 @@ parameters. For example, in Python 3 it is possible to write:
|
|||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
>>> def fn(pos1, *, kwonly1 kwonly=None):
|
>>> def fn(pos1, *, kwonly1, kwonly2=None):
|
||||||
... ...
|
... ...
|
||||||
|
|
||||||
All named parameters after `*` must be a keyword:
|
All named parameters after `*` must be a keyword:
|
||||||
|
Loading…
Reference in New Issue
Block a user