docs: Use the correct * keyword-only notation.

This commit is contained in:
Jos Verlinde
2021-07-12 18:04:56 +02:00
committed by Damien George
parent a41abd94dc
commit cd0531c533
3 changed files with 5 additions and 5 deletions

View File

@@ -345,7 +345,7 @@ Example::
Create a server instance, see ``init`` for parameters of initialization.
.. method:: server.init(\*, login=('micro', 'python'), timeout=300)
.. method:: server.init(*, login=('micro', 'python'), timeout=300)
Init (and effectively start the server). Optionally a new ``user``, ``password``
and ``timeout`` (in seconds) can be passed.
@@ -368,7 +368,7 @@ Adhoc VFS-like support
WiPy doesn't implement full MicroPython VFS support, instead following
functions are defined in ``os`` module:
.. function:: mount(block_device, mount_point, \*, readonly=False)
.. function:: mount(block_device, mount_point, *, readonly=False)
Mounts a block device (like an ``SD`` object) in the specified mount
point. Example::