@@ -99,7 +99,7 @@ MP_PROPERTY_GETSET(wifi_radio_enabled_obj,
99
99
(mp_obj_t )& wifi_radio_get_enabled_obj ,
100
100
(mp_obj_t )& wifi_radio_set_enabled_obj );
101
101
102
- //| hostname: Union[str | ReadableBuffer]
102
+ //| hostname: Union[str, ReadableBuffer]
103
103
//| """Hostname for wifi interface. When the hostname is altered after interface started/connected
104
104
//| the changes would only be reflected once the interface restarts/reconnects."""
105
105
static mp_obj_t wifi_radio_get_hostname (mp_obj_t self_in ) {
@@ -325,8 +325,8 @@ MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_stop_station_obj, wifi_radio_stop_station);
325
325
326
326
//| def start_ap(
327
327
//| self,
328
- //| ssid: Union[str | ReadableBuffer],
329
- //| password: Union[str | ReadableBuffer] = b"",
328
+ //| ssid: Union[str, ReadableBuffer],
329
+ //| password: Union[str, ReadableBuffer] = b"",
330
330
//| *,
331
331
//| channel: int = 1,
332
332
//| authmode: Iterable[AuthMode] = (),
@@ -438,11 +438,11 @@ MP_PROPERTY_GETTER(wifi_radio_ap_active_obj,
438
438
439
439
//| def connect(
440
440
//| self,
441
- //| ssid: Union[str | ReadableBuffer],
442
- //| password: Union[str | ReadableBuffer] = b"",
441
+ //| ssid: Union[str, ReadableBuffer],
442
+ //| password: Union[str, ReadableBuffer] = b"",
443
443
//| *,
444
444
//| channel: int = 0,
445
- //| bssid: Optional[Union[str | ReadableBuffer]] = None,
445
+ //| bssid: Optional[Union[str, ReadableBuffer]] = None,
446
446
//| timeout: Optional[float] = None,
447
447
//| ) -> None:
448
448
//| """Connects to the given ssid and waits for an ip address. Reconnections are handled
0 commit comments