@@ -99,7 +99,7 @@ MP_PROPERTY_GETSET(wifi_radio_enabled_obj,
9999 (mp_obj_t )& wifi_radio_get_enabled_obj ,
100100 (mp_obj_t )& wifi_radio_set_enabled_obj );
101101
102- //| hostname: Union[str | ReadableBuffer]
102+ //| hostname: Union[str, ReadableBuffer]
103103//| """Hostname for wifi interface. When the hostname is altered after interface started/connected
104104//| the changes would only be reflected once the interface restarts/reconnects."""
105105static 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);
325325
326326//| def start_ap(
327327//| self,
328- //| ssid: Union[str | ReadableBuffer],
329- //| password: Union[str | ReadableBuffer] = b"",
328+ //| ssid: Union[str, ReadableBuffer],
329+ //| password: Union[str, ReadableBuffer] = b"",
330330//| *,
331331//| channel: int = 1,
332332//| authmode: Iterable[AuthMode] = (),
@@ -438,11 +438,11 @@ MP_PROPERTY_GETTER(wifi_radio_ap_active_obj,
438438
439439//| def connect(
440440//| self,
441- //| ssid: Union[str | ReadableBuffer],
442- //| password: Union[str | ReadableBuffer] = b"",
441+ //| ssid: Union[str, ReadableBuffer],
442+ //| password: Union[str, ReadableBuffer] = b"",
443443//| *,
444444//| channel: int = 0,
445- //| bssid: Optional[Union[str | ReadableBuffer]] = None,
445+ //| bssid: Optional[Union[str, ReadableBuffer]] = None,
446446//| timeout: Optional[float] = None,
447447//| ) -> None:
448448//| """Connects to the given ssid and waits for an ip address. Reconnections are handled
0 commit comments