Skip to content

Commit 5361420

Browse files
committed
doc: fix doc issues
1 parent 41ed076 commit 5361420

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

libp2p/identity/identify_push/identify_push.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ def identify_push_handler_for(
5858
5959
Args:
6060
host: The libp2p host.
61-
use_varint_format: If True, expect length-prefixed format; if False,
62-
expect raw protobuf.
61+
use_varint_format: True=length-prefixed, False=raw protobuf.
6362
6463
"""
6564

@@ -192,8 +191,7 @@ async def push_identify_to_peer(
192191
peer_id: The peer ID to push to.
193192
observed_multiaddr: The observed multiaddress (optional).
194193
limit: Semaphore for concurrency control.
195-
use_varint_format: If True, send length-prefixed format; if False,
196-
send raw protobuf.
194+
use_varint_format: True=length-prefixed, False=raw protobuf.
197195
198196
Returns:
199197
bool: True if the push was successful, False otherwise.
@@ -241,8 +239,7 @@ async def push_identify_to_peers(
241239
host: The libp2p host.
242240
peer_ids: Set of peer IDs to push to (if None, push to all connected peers).
243241
observed_multiaddr: The observed multiaddress (optional).
244-
use_varint_format: If True, send length-prefixed format; if False,
245-
send raw protobuf.
242+
use_varint_format: True=length-prefixed, False=raw protobuf.
246243
247244
"""
248245
if peer_ids is None:

0 commit comments

Comments
 (0)