Update docstrings

This commit is contained in:
Dan 2018-01-15 13:42:05 +01:00
parent 3e83e4e565
commit ca8e5679ee

View File

@ -66,7 +66,7 @@ class Client:
to save the session to a file named ``<session_name>.session``. to save the session to a file named ``<session_name>.session``.
test_mode (:obj:`bool`, optional): test_mode (:obj:`bool`, optional):
Enable or disable log-in to testing servers. Defaults to ``False``. Enable or disable log-in to testing servers. Defaults to False.
Only applicable for new sessions and will be ignored in case previously Only applicable for new sessions and will be ignored in case previously
created sessions are loaded. created sessions are loaded.
""" """
@ -134,7 +134,7 @@ class Client:
Args: Args:
stop_signals (:obj:`tuple`, optional): stop_signals (:obj:`tuple`, optional):
Iterable containing signals the signal handler will listen to. Iterable containing signals the signal handler will listen to.
Defaults to ``(SIGINT, SIGTERM, SIGABRT)``. Defaults to (SIGINT, SIGTERM, SIGABRT).
""" """
for s in stop_signals: for s in stop_signals:
signal(s, self.signal_handler) signal(s, self.signal_handler)