Add intersphinx

This commit is contained in:
Tobotimus authored and Rapptz committed 2018-01-06 17:23:59 -05:00
1 parent 0ef866a704
commit 3112e1c17e
37 files changed
+267 -268

No files matched your search

+1 -1
View File
@@ -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