From ec056042e0d9fc868c9dbc0c0da3d9837179d91f Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 19 Dec 2018 21:50:02 +0000 Subject: [PATCH] core: more Poller docstrings. --- mitogen/core.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mitogen/core.py b/mitogen/core.py index 58a40d3a..bfc322df 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -1738,8 +1738,10 @@ class Poller(object): def stop_receive(self, fd): """ - Stop yielding readability events for `fd`. Redundant calls to - :meth:`stop_receive` are silently ignored, this may change in future. + Stop yielding readability events for `fd`. + + Redundant calls to :meth:`stop_receive` are silently ignored, this may + change in future. """ self._rfds.pop(fd, None) @@ -1751,8 +1753,10 @@ class Poller(object): def stop_transmit(self, fd): """ - Stop yielding writeability events for `fd`. Redundant calls to - :meth:`stop_transmit` are silently ignored, this may change in future. + Stop yielding writeability events for `fd`. + + Redundant calls to :meth:`stop_transmit` are silently ignored, this may + change in future. """ self._wfds.pop(fd, None)