Fix the docs
This commit is contained in:
parent
6f0d62d85e
commit
543940e0a7
@ -33,12 +33,12 @@
|
|||||||
#include "shared-bindings/mdns/RemoteService.h"
|
#include "shared-bindings/mdns/RemoteService.h"
|
||||||
|
|
||||||
//| class RemoteService:
|
//| class RemoteService:
|
||||||
//| """Encapsulates information about a remote service that was found during a query. This
|
//| """Encapsulates information about a remote service that was found during a search. This
|
||||||
//| object may only be created by a `mdns.Server`. It has no user-visible constructor."""
|
//| object may only be created by a `mdns.Server`. It has no user-visible constructor."""
|
||||||
//|
|
//|
|
||||||
|
|
||||||
//| def __init__(self) -> None:
|
//| def __init__(self) -> None:
|
||||||
//| """Cannot be instantiated directly. Use `mdns.Server.query`."""
|
//| """Cannot be instantiated directly. Use `mdns.Server.find`."""
|
||||||
//| ...
|
//| ...
|
||||||
//|
|
//|
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ const mp_obj_property_t mdns_server_instance_name_obj = {
|
|||||||
//| """Find all locally available remote services with the given service type and protocol.
|
//| """Find all locally available remote services with the given service type and protocol.
|
||||||
//|
|
//|
|
||||||
//| This doesn't allow for direct hostname lookup. To do that, use
|
//| This doesn't allow for direct hostname lookup. To do that, use
|
||||||
//| `socketpool.SocketPool.getaddrinfo()`
|
//| `socketpool.SocketPool.getaddrinfo()`.
|
||||||
//|
|
//|
|
||||||
//| :param str service_type: The service type such as "_http"
|
//| :param str service_type: The service type such as "_http"
|
||||||
//| :param str protocol: The service protocol such as "_tcp"
|
//| :param str protocol: The service protocol such as "_tcp"
|
||||||
|
Loading…
Reference in New Issue
Block a user