From: Ben Darnell Date: Fri, 1 Apr 2016 23:28:04 +0000 (-0400) Subject: Clarify comment in ioloop X-Git-Tag: v4.4.0b1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0621a0ad89b5338fbbf333ce810ea2eda2d78c34;p=thirdparty%2Ftornado.git Clarify comment in ioloop "update" could be read as meaning `dict.update`, so use "modify" instead. (the only actual modification is a removal in `remove_handler`) --- diff --git a/tornado/ioloop.py b/tornado/ioloop.py index c3aeced2a..04094c966 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -874,7 +874,7 @@ class PollIOLoop(IOLoop): # Pop one fd at a time from the set of pending fds and run # its handler. Since that handler may perform actions on # other file descriptors, there may be reentrant calls to - # this IOLoop that update self._events + # this IOLoop that modify self._events self._events.update(event_pairs) while self._events: fd, events = self._events.popitem()