summaryrefslogtreecommitdiff
path: root/docs/library/network.rst
diff options
context:
space:
mode:
authorZenix27 <30363000+Zenix27@users.noreply.github.com>2020-07-11 12:23:26 +0530
committerDamien George <damien@micropython.org>2020-08-21 12:24:13 +1000
commite76c7466b62c940150cf1b5000e18f60a5efa2e3 (patch)
tree0ced7b7a5eb3f5efb6524ca1cf65bd0188b57bc5 /docs/library/network.rst
parent17689a71f66bcf96c09f8700fa3e0f5aa5be225c (diff)
docs: Change `\*` to `*` in argument lists.
Latest versions of Sphinx (at least 3.1.0) do not need the `*` escaped and will render the `\` in the output if it is there, so remove it. Fixes issue #6209.
Diffstat (limited to 'docs/library/network.rst')
-rw-r--r--docs/library/network.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/network.rst b/docs/library/network.rst
index 208c58f85..bd3bc6f34 100644
--- a/docs/library/network.rst
+++ b/docs/library/network.rst
@@ -58,7 +58,7 @@ parameter should be `id`.
interface (behavior of calling them on inactive interface is
undefined).
-.. method:: AbstractNIC.connect([service_id, key=None, \*, ...])
+.. method:: AbstractNIC.connect([service_id, key=None, *, ...])
Connect the interface to a network. This method is optional, and
available only for interfaces which are not "always connected".
@@ -82,7 +82,7 @@ parameter should be `id`.
Returns ``True`` if connected to network, otherwise returns ``False``.
-.. method:: AbstractNIC.scan(\*, ...)
+.. method:: AbstractNIC.scan(*, ...)
Scan for the available network services/connections. Returns a
list of tuples with discovered service parameters. For various