504 changes: 99 additions & 405 deletions docs/library/network.rst

Large diffs are not rendered by default.

143 changes: 0 additions & 143 deletions docs/library/pyb.ADC.rst

This file was deleted.

56 changes: 0 additions & 56 deletions docs/library/pyb.Accel.rst

This file was deleted.

222 changes: 0 additions & 222 deletions docs/library/pyb.CAN.rst

This file was deleted.

109 changes: 0 additions & 109 deletions docs/library/pyb.DAC.rst

This file was deleted.

114 changes: 0 additions & 114 deletions docs/library/pyb.ExtInt.rst

This file was deleted.

175 changes: 0 additions & 175 deletions docs/library/pyb.I2C.rst

This file was deleted.

96 changes: 0 additions & 96 deletions docs/library/pyb.LCD.rst

This file was deleted.

46 changes: 0 additions & 46 deletions docs/library/pyb.LED.rst

This file was deleted.

280 changes: 0 additions & 280 deletions docs/library/pyb.Pin.rst

This file was deleted.

83 changes: 0 additions & 83 deletions docs/library/pyb.RTC.rst

This file was deleted.

132 changes: 0 additions & 132 deletions docs/library/pyb.SPI.rst

This file was deleted.

80 changes: 0 additions & 80 deletions docs/library/pyb.Servo.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/library/pyb.Switch.rst

This file was deleted.

286 changes: 0 additions & 286 deletions docs/library/pyb.Timer.rst

This file was deleted.

245 changes: 0 additions & 245 deletions docs/library/pyb.UART.rst

This file was deleted.

39 changes: 0 additions & 39 deletions docs/library/pyb.USB_HID.rst

This file was deleted.

102 changes: 0 additions & 102 deletions docs/library/pyb.USB_VCP.rst

This file was deleted.

321 changes: 0 additions & 321 deletions docs/library/pyb.rst

This file was deleted.

7 changes: 4 additions & 3 deletions docs/library/sys.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`sys` -- system specific functions
=======================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: sys
:synopsis: system specific functions

|see_cpython_module| :mod:`python:sys`.
|see_cpython_module| :mod:`cpython:sys`.

Functions
---------
Expand All @@ -27,8 +29,7 @@ Functions
``traceback`` module in CPython. Unlike ``traceback.print_exception()``,
this function takes just exception value instead of exception type,
exception value, and traceback object; *file* argument should be
positional; further arguments are not supported. CPython-compatible
``traceback`` module can be found in `micropython-lib`.
positional; further arguments are not supported.

Constants
---------
Expand Down
4 changes: 3 additions & 1 deletion docs/library/ubinascii.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`ubinascii` -- binary/ASCII conversions
============================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: ubinascii
:synopsis: binary/ASCII conversions

|see_cpython_module| :mod:`python:binascii`.
|see_cpython_module| :mod:`cpython:binascii`.

This module implements conversions between binary data and various
encodings of it in ASCII form (in both directions).
Expand Down
4 changes: 3 additions & 1 deletion docs/library/ucollections.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`ucollections` -- collection and container types
=====================================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: ucollections
:synopsis: collection and container types

|see_cpython_module| :mod:`python:collections`.
|see_cpython_module| :mod:`cpython:collections`.

This module implements advanced collection and container types to
hold/accumulate various objects.
Expand Down
4 changes: 3 additions & 1 deletion docs/library/uctypes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
:mod:`uctypes` -- access binary data in a structured way
========================================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: uctypes
:synopsis: access binary data in a structured way

Expand All @@ -13,7 +15,7 @@ sub-fields.

.. seealso::

Module :mod:`ustruct`
Module :mod:`struct`
Standard Python way to access binary data structures (doesn't scale
well to large and complex structures).

Expand Down
12 changes: 6 additions & 6 deletions docs/library/uerrno.rst
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
:mod:`uerrno` -- system error codes
===================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: uerrno
:synopsis: system error codes

|see_cpython_module| :mod:`python:errno`.
|see_cpython_module| :mod:`cpython:errno`.

This module provides access to symbolic error codes for `OSError` exception.
A particular inventory of codes depends on `MicroPython port`.

Constants
---------

.. data:: EEXIST, EAGAIN, etc.

Error codes, based on ANSI C/POSIX standard. All error codes start with
"E". As mentioned above, inventory of the codes depends on
`MicroPython port`. Errors are usually accessible as ``exc.args[0]``
where `exc` is an instance of `OSError`. Usage example::
"E". Errors are usually accessible as ``exc.args[0]``
where ``exc`` is an instance of `OSError`. Usage example::

try:
uos.mkdir("my_dir")
os.mkdir("my_dir")
except OSError as exc:
if exc.args[0] == uerrno.EEXIST:
print("Directory already exists")
Expand Down
4 changes: 3 additions & 1 deletion docs/library/uhashlib.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`uhashlib` -- hashing algorithms
=====================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: uhashlib
:synopsis: hashing algorithms

|see_cpython_module| :mod:`python:hashlib`.
|see_cpython_module| :mod:`cpython:hashlib`.

This module implements binary data hashing algorithms. The exact inventory
of available algorithms depends on a board. Among the algorithms which may
Expand Down
4 changes: 3 additions & 1 deletion docs/library/uheapq.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`uheapq` -- heap queue algorithm
=====================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: uheapq
:synopsis: heap queue algorithm

|see_cpython_module| :mod:`python:heapq`.
|see_cpython_module| :mod:`cpython:heapq`.

This module implements the heap queue algorithm.

Expand Down
6 changes: 4 additions & 2 deletions docs/library/uio.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`uio` -- input/output streams
==================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: uio
:synopsis: input/output streams

|see_cpython_module| :mod:`python:io`.
|see_cpython_module| :mod:`cpython:io`.

This module contains additional types of stream (file-like) objects
and helper functions.
Expand Down Expand Up @@ -81,7 +83,7 @@ Functions

Open a file. Builtin ``open()`` function is aliased to this function.
All ports (which provide access to file system) are required to support
`mode` parameter, but support for other arguments vary by port.
``mode`` parameter, but support for other arguments vary by port.

Classes
-------
Expand Down
4 changes: 3 additions & 1 deletion docs/library/ujson.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`ujson` -- JSON encoding and decoding
==========================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: ujson
:synopsis: JSON encoding and decoding

|see_cpython_module| :mod:`python:json`.
|see_cpython_module| :mod:`cpython:json`.

This modules allows to convert between Python objects and the JSON
data format.
Expand Down
96 changes: 0 additions & 96 deletions docs/library/uos.rst

This file was deleted.

4 changes: 3 additions & 1 deletion docs/library/ure.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
:mod:`ure` -- simple regular expressions
========================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: ure
:synopsis: regular expressions

|see_cpython_module| :mod:`python:re`.
|see_cpython_module| :mod:`cpython:re`.

This module implements regular expression operations. Regular expression
syntax supported is a subset of CPython ``re`` module (and actually is
Expand Down
Loading