@@ -78,12 +78,12 @@ below:
7878
7979 .. attribute :: events
8080
81- Events that must be waited for this file object.
81+ Events that must be waited for on this file object.
8282
8383 .. attribute :: data
8484
8585 Optional opaque data associated to this file object: for example, this
86- could be used to store per-client session.
86+ could be used to store a per-client session ID .
8787
8888
8989.. class :: BaseSelector
@@ -122,7 +122,7 @@ below:
122122
123123 .. method :: modify(fileobj, events, data=None)
124124
125- Change a registered file object monitored events or attached data.
125+ Change a registered file object's monitored events or attached data.
126126
127127 This is equivalent to :meth: `BaseSelector.unregister(fileobj) ` followed
128128 by :meth: `BaseSelector.register(fileobj, events, data) `, except that it
@@ -143,7 +143,7 @@ below:
143143 If *timeout * is ``None ``, the call will block until a monitored file object
144144 becomes ready.
145145
146- This returns a list of ``(key, events) `` tuple , one for each ready file
146+ This returns a list of ``(key, events) `` tuples , one for each ready file
147147 object.
148148
149149 *key * is the :class: `SelectorKey ` instance corresponding to a ready file
@@ -159,7 +159,7 @@ below:
159159
160160 .. method :: get_key(fileobj)
161161
162- Return the key associated to a registered file object.
162+ Return the key associated with a registered file object.
163163
164164 This returns the :class: `SelectorKey ` instance associated to this file
165165 object, or raises :exc: `KeyError ` if the file object is not registered.
0 commit comments