Skip to content

Commit 46dc133

Browse files
committed
Fix stub and doc builds
1 parent 6fbeb28 commit 46dc133

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
# directories to ignore when looking for source files.
145145
exclude_patterns = ["**/build*",
146146
".git",
147+
".env",
147148
".venv",
148149
".direnv",
149150
"docs/autoapi",

shared-bindings/ipaddress/IPv4Address.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//| def __init__(self, address: Union[str, bytes]) -> None:
4343
//| """Create a new IPv4Address object encapsulating the address value.
4444
//|
45-
//| The value itself can either be bytes or a string formatted address.""
45+
//| The value itself can either be bytes or a string formatted address."""
4646
//| ...
4747
//|
4848
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) {

shared-bindings/wifi/ScannedNetworks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
static const char *TAG = "cp iternext";
3737

3838
//| class ScannedNetworks:
39-
//| """Iterates over wifi `Network`s found while scanning. This object is always created
39+
//| """Iterates over all `wifi.Network` objects found while scanning. This object is always created
4040
//| by a `wifi.Radio`: it has no user-visible constructor."""
4141
//|
4242
STATIC mp_obj_t scannednetworks_iternext(mp_obj_t self_in) {

shared-bindings/wifi/__init__.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@
3232

3333
//| """
3434
//| The `wifi` module provides necessary low-level functionality for managing wifi
35-
//| wifi connections. Use `socketpool` for communicating over the network.
35+
//| wifi connections. Use `socketpool` for communicating over the network."""
3636
//|
37-
//| .. attribute:: radio
38-
//|
39-
//| Wifi radio used to manage both station and AP modes.
40-
//| This object is the sole instance of `wifi.Radio`."""
37+
//| radio: Radio
38+
//| """Wifi radio used to manage both station and AP modes.
39+
//| This object is the sole instance of `wifi.Radio`."""
4140
//|
4241

4342

0 commit comments

Comments
 (0)