Fix the python3 demo in README
This commit is contained in:
parent
9efb48e974
commit
ce3e7dd274
|
@ -22,7 +22,7 @@ parameters. For example, in Python 3 it is possible to write:
|
|||
|
||||
.. code:: python
|
||||
|
||||
>>> def fn(pos1, *, kwonly1 kwonly=None):
|
||||
>>> def fn(pos1, *, kwonly1, kwonly2=None):
|
||||
... ...
|
||||
|
||||
All named parameters after `*` must be a keyword:
|
||||
|
|
Loading…
Reference in New Issue