From 3112e1c17e7859adf6d13ed844f4c636b4bc30d8 Mon Sep 17 00:00:00 2001 From: Tobotimus Date: Sat, 6 Jan 2018 17:21:56 -0500 Subject: Add intersphinx --- discord/gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/gateway.py') diff --git a/discord/gateway.py b/discord/gateway.py index 547d3401..c995ef46 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -428,7 +428,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): @property def latency(self): - """float: Measures latency between a HEARTBEAT and a HEARTBEAT_ACK in seconds.""" + """:obj:`float`: Measures latency between a HEARTBEAT and a HEARTBEAT_ACK in seconds.""" heartbeat = self._keep_alive return float('inf') if heartbeat is None else heartbeat._last_ack - heartbeat._last_send -- cgit v1.2.3