File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,18 @@ There are a few functions specific to Python functions.
118118
119119.. c:function:: PyObject* PyFunction_GetKwDefaults(PyObject *op)  
120120
121-    Return the keyword-argument default values of the function object *op *. This can be a 
122-    tuple of arguments or ``NULL ``. 
121+    Return the keyword-only argument default values of the function object *op *. This can be a 
122+    dictionary of arguments or ``NULL ``. 
123+ 
124+    .. versionadded :: 3.0  
123125
124126
125127.. c :function :: PyObject *PyFunction_GET_KW_DEFAULTS (PyObject *op)   
126128
127129   Equivalent to :c:func: `PyFunction_GetKwDefaults `, but without error checking. 
128130
131+    .. versionadded :: 3.0  
132+ 
129133
130134.. c :function :: PyObject* PyFunction_GetClosure (PyObject *op)   
131135
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments