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 @@ -944,6 +944,9 @@ Watching file descriptors
944
944
invoke *callback * with the specified arguments once *fd * is available for
945
945
reading.
946
946
947
+ Any preexisting callback registered for *fd * is cancelled and replaced by
948
+ *callback *.
949
+
947
950
.. method :: loop.remove_reader(fd)
948
951
949
952
Stop monitoring the *fd * file descriptor for read availability. Returns
@@ -955,6 +958,9 @@ Watching file descriptors
955
958
invoke *callback * with the specified arguments once *fd * is available for
956
959
writing.
957
960
961
+ Any preexisting callback registered for *fd * is cancelled and replaced by
962
+ *callback *.
963
+
958
964
Use :func: `functools.partial ` :ref: `to pass keyword arguments
959
965
<asyncio-pass-keywords>` to *callback *.
960
966
You can’t perform that action at this time.
0 commit comments