Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
type cleanup for Tuple/Sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
pipermerriam committed Aug 28, 2019
1 parent 28a8c5c commit 5a5e596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion p2p/handshake.py
Expand Up @@ -9,6 +9,7 @@
Dict,
Iterable,
NamedTuple,
Sequence,
Type,
Tuple,
)
Expand Down Expand Up @@ -200,7 +201,7 @@ async def _do_p2p_handshake(transport: TransportAPI,

async def negotiate_protocol_handshakes(transport: TransportAPI,
p2p_handshake_params: DevP2PHandshakeParams,
protocol_handshakers: Tuple[Handshaker, ...],
protocol_handshakers: Sequence[Handshaker],
token: CancelToken,
) -> Tuple[MultiplexerAPI, DevP2PReceipt, Tuple[HandshakeReceipt, ...]]: # noqa: E501
"""
Expand Down

0 comments on commit 5a5e596

Please sign in to comment.