Browse Source

Adding docs for new a2s_rules optional binary argument

pull/359/head
Tim Jensen 4 years ago
parent
commit
a3e15eed8a
No known key found for this signature in database GPG Key ID: AF7622AC8D9CB25E
  1. 2
      steam/game_servers.py

2
steam/game_servers.py

@ -538,6 +538,8 @@ def a2s_rules(server_addr, timeout=2, challenge=0, binary=False):
:type timeout: float
:param challenge: (optional) challenge number
:type challenge: int
:param binary: (optional) return rules as raw bytes
:type binary: bool
:raises: :class:`RuntimeError`, :class:`socket.timeout`
:returns: a list of rules
:rtype: :class:`list`

Loading…
Cancel
Save