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
960960   invoke *callback * with the specified arguments once *fd * is available for
961961   reading.
962962
963+    Any preexisting callback registered for *fd * is cancelled and replaced by
964+    *callback *.
965+ 
963966.. method :: loop.remove_reader(fd) 
964967
965968   Stop monitoring the *fd * file descriptor for read availability. Returns
@@ -971,6 +974,9 @@ Watching file descriptors
971974   invoke *callback * with the specified arguments once *fd * is available for
972975   writing.
973976
977+    Any preexisting callback registered for *fd * is cancelled and replaced by
978+    *callback *.
979+ 
974980   Use :func: `functools.partial ` :ref: `to pass keyword arguments 
975981   <asyncio-pass-keywords>` to *callback *.
976982
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments