File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ Operating System Utilities
218218
219219.. c :function :: FILE* Py_fopen (PyObject *path, const char *mode)   
220220
221-    Similar to the  :c:func: `!fopen ` function , but *path * is a Python object and 
221+    Similar to :c:func: `!fopen `, but *path * is a Python object and 
222222   an exception is set on error. 
223223
224224   *path * must be a :class: `str ` object or a :class: `bytes ` object. 
@@ -227,7 +227,7 @@ Operating System Utilities
227227   On error, set an exception and return ``NULL ``. 
228228
229229   The file must be closed by :c:func: `Py_fclose ` rather than calling directly 
230-    `` fclose()  ` `. 
230+    :c:func: ` ! fclose 
231231
232232   The file descriptor is created non-inheritable (:pep: `446 `). 
233233
@@ -238,7 +238,7 @@ Operating System Utilities
238238
239239.. c:function:: int Py_fclose(FILE *file)  
240240
241-    Closes files  that were  opened by :c:func: `Py_fopen `. 
241+    Close a file  that was  opened by :c:func: `Py_fopen `. 
242242
243243   On success, return ``0 ``. 
244244   On error, return ``EOF `` and ``errno `` is set to indicate the error. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments