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 773773PyLong_IsPositive (PyObject  * obj )
774774{
775775    if  (!PyLong_Check (obj )) {
776-         PyErr_Format (PyExc_TypeError , "expect  int, got %T" , obj );
776+         PyErr_Format (PyExc_TypeError , "expected  int, got %T" , obj );
777777        return  -1 ;
778778    }
779779    return  _PyLong_IsPositive ((PyLongObject  * )obj );
783783PyLong_IsNegative (PyObject  * obj )
784784{
785785    if  (!PyLong_Check (obj )) {
786-         PyErr_Format (PyExc_TypeError , "expect  int, got %T" , obj );
786+         PyErr_Format (PyExc_TypeError , "expected  int, got %T" , obj );
787787        return  -1 ;
788788    }
789789    return  _PyLong_IsNegative ((PyLongObject  * )obj );
793793PyLong_IsZero (PyObject  * obj )
794794{
795795    if  (!PyLong_Check (obj )) {
796-         PyErr_Format (PyExc_TypeError , "expect  int, got %T" , obj );
796+         PyErr_Format (PyExc_TypeError , "expected  int, got %T" , obj );
797797        return  -1 ;
798798    }
799799    return  _PyLong_IsZero ((PyLongObject  * )obj );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments