File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -960,6 +960,9 @@ Watching file descriptors
960
960
invoke *callback * with the specified arguments once *fd * is available for
961
961
reading.
962
962
963
+ Any preexisting callback registered for *fd * is cancelled and replaced by
964
+ *callback *.
965
+
963
966
.. method :: loop.remove_reader(fd)
964
967
965
968
Stop monitoring the *fd * file descriptor for read availability. Returns
@@ -971,6 +974,9 @@ Watching file descriptors
971
974
invoke *callback * with the specified arguments once *fd * is available for
972
975
writing.
973
976
977
+ Any preexisting callback registered for *fd * is cancelled and replaced by
978
+ *callback *.
979
+
974
980
Use :func: `functools.partial ` :ref: `to pass keyword arguments
975
981
<asyncio-pass-keywords>` to *callback *.
976
982
You can’t perform that action at this time.
0 commit comments