Skip to content

Commit a560ef3

Browse files
committed
Fix wifi.Radio.ping return type
1 parent f7c05bc commit a560ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/wifi/Radio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ const mp_obj_property_t wifi_radio_ap_info_obj = {
507507
MP_ROM_NONE },
508508
};
509509

510-
//| def ping(self, ip: ipaddress.IPv4Address, *, timeout: Optional[float] = 0.5) -> float:
510+
//| def ping(self, ip: ipaddress.IPv4Address, *, timeout: Optional[float] = 0.5) -> Optional[float]:
511511
//| """Ping an IP to test connectivity. Returns echo time in seconds.
512512
//| Returns None when it times out."""
513513
//| ...

0 commit comments

Comments
 (0)