Fix stub and doc builds

This commit is contained in:
Scott Shawcroft 2020-08-26 17:18:16 -07:00
parent 6fbeb28bd6
commit 46dc133d04
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
4 changed files with 7 additions and 7 deletions

View File

@ -144,6 +144,7 @@ version = release = final_version
# directories to ignore when looking for source files.
exclude_patterns = ["**/build*",
".git",
".env",
".venv",
".direnv",
"docs/autoapi",

View File

@ -42,7 +42,7 @@
//| def __init__(self, address: Union[str, bytes]) -> None:
//| """Create a new IPv4Address object encapsulating the address value.
//|
//| The value itself can either be bytes or a string formatted address.""
//| The value itself can either be bytes or a string formatted address."""
//| ...
//|
STATIC mp_obj_t ipaddress_ipv4address_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {

View File

@ -36,7 +36,7 @@
static const char *TAG = "cp iternext";
//| class ScannedNetworks:
//| """Iterates over wifi `Network`s found while scanning. This object is always created
//| """Iterates over all `wifi.Network` objects found while scanning. This object is always created
//| by a `wifi.Radio`: it has no user-visible constructor."""
//|
STATIC mp_obj_t scannednetworks_iternext(mp_obj_t self_in) {

View File

@ -32,12 +32,11 @@
//| """
//| The `wifi` module provides necessary low-level functionality for managing wifi
//| wifi connections. Use `socketpool` for communicating over the network.
//| wifi connections. Use `socketpool` for communicating over the network."""
//|
//| .. attribute:: radio
//|
//| Wifi radio used to manage both station and AP modes.
//| This object is the sole instance of `wifi.Radio`."""
//| radio: Radio
//| """Wifi radio used to manage both station and AP modes.
//| This object is the sole instance of `wifi.Radio`."""
//|