summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorBenjamin Shockley <benjaminshockley@hotmail.com>2020-08-20 13:48:15 -0500
committerGitHub <noreply@github.com>2020-08-20 13:48:15 -0500
commit0084f0af24e4e219bc040c52ee723959423de6e2 (patch)
tree1aebdb362f08bf6417caa87836e3e4e739afc964 /docs/library
parent9aebe2f1efc99871fcf283c304e3a8700050d736 (diff)
parent4d7b9cde33934a44c4c905a49d2f831339fc8bd2 (diff)
Merge pull request #2 from adafruit/master
Master
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/builtins.rst10
-rw-r--r--docs/library/network.rst3
2 files changed, 7 insertions, 6 deletions
diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst
index 36a84bc0c..6cbf95d53 100644
--- a/docs/library/builtins.rst
+++ b/docs/library/builtins.rst
@@ -78,12 +78,12 @@ Not all of these functions and types are turned on in all CircuitPython ports, f
.. classmethod:: from_bytes(bytes, byteorder)
- In CircuitPython, `byteorder` parameter must be positional (this is
+ In CircuitPython, ``byteorder`` parameter must be positional (this is
compatible with CPython).
.. method:: to_bytes(size, byteorder)
- In CircuitPython, `byteorder` parameter must be positional (this is
+ In CircuitPython, ``byteorder`` parameter must be positional (this is
compatible with CPython).
.. function:: isinstance()
@@ -182,7 +182,7 @@ Exceptions
.. exception:: OSError
- |see_cpython| `OSError`. CircuitPython doesn't implement the ``errno``
+ |see_cpython| :py:class:`cpython:OSError`. CircuitPython doesn't implement the ``errno``
attribute, instead use the standard way to access exception arguments:
``exc.args[0]``.
@@ -198,11 +198,11 @@ Exceptions
.. exception:: SystemExit
- |see_cpython| :py:class:`python:SystemExit`.
+ |see_cpython| :py:class:`cpython:SystemExit`.
.. exception:: TypeError
- |see_cpython| :py:class:`python:TypeError`.
+ |see_cpython| :py:class:`cpython:TypeError`.
.. exception:: ValueError
diff --git a/docs/library/network.rst b/docs/library/network.rst
index d25f9f388..bd32267fe 100644
--- a/docs/library/network.rst
+++ b/docs/library/network.rst
@@ -5,6 +5,7 @@
.. include:: ../templates/unsupported_in_circuitpython.inc
.. module:: network
+ :noindex:
:synopsis: network configuration
This module provides network drivers and routing configuration. To use this
@@ -246,7 +247,7 @@ Methods
nic.ifconfig(('192.168.0.4', '255.255.255.0', '192.168.0.1', '8.8.8.8'))
.. method:: wlan.config('param')
-.. method:: wlan.config(param=value, ...)
+ wlan.config(param=value, ...)
Get or set general network interface parameters. These methods allow to work
with additional parameters beyond standard IP configuration (as dealt with by