From 13088eea114faafea693aa3ccc4f0ab5bedb1a1d Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Thu, 1 Sep 2016 13:37:09 +0100 Subject: [PATCH] docs: clean up disconnect() docstring --- steam/core/cm.py | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/steam/core/cm.py b/steam/core/cm.py index 67d5bb9..bd0bde0 100644 --- a/steam/core/cm.py +++ b/steam/core/cm.py @@ -144,24 +144,7 @@ class CMClient(EventEmitter): return True def disconnect(self): - """Close connection - - .. note:: - When ``reconnect`` is ``True``, the delay before reconnect is determined - by exponential backoff algorithm starting from 0 seconds and up to 31 seconds - - :param reconnect: attempt to reconnect - :type reconnect: :class:`bool` - :param nodelay: set to ``True`` to ignore reconnect delay - :type nodelay: :class:`bool` - - Event: ``disconnected`` - - Event: ``reconnect`` instead of ``disconnected`` when going to reconnect - - :param delay_seconds: seconds delay before reconnect is attempted - :type delay_seconds: :class:`int` - """ + """Close connection""" if not self.connected: return