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 @@ -970,6 +970,9 @@ Watching file descriptors
970
970
invoke *callback * with the specified arguments once *fd * is available for
971
971
reading.
972
972
973
+ Any preexisting callback registered for *fd * is cancelled and replaced by
974
+ *callback *.
975
+
973
976
.. method :: loop.remove_reader(fd)
974
977
975
978
Stop monitoring the *fd * file descriptor for read availability. Returns
@@ -981,6 +984,9 @@ Watching file descriptors
981
984
invoke *callback * with the specified arguments once *fd * is available for
982
985
writing.
983
986
987
+ Any preexisting callback registered for *fd * is cancelled and replaced by
988
+ *callback *.
989
+
984
990
Use :func: `functools.partial ` :ref: `to pass keyword arguments
985
991
<asyncio-pass-keywords>` to *callback *.
986
992
You can’t perform that action at this time.
0 commit comments