mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Remove 'extern' declaration for _Py_SwappedOp.
This commit is contained in:
		
							parent
							
								
									2dc820599b
								
							
						
					
					
						commit
						a5ca2e7220
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -476,7 +476,7 @@ adjust_tp_compare(int c)
 | 
				
			||||||
                         ? (t)->tp_richcompare : NULL)
 | 
					                         ? (t)->tp_richcompare : NULL)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Map rich comparison operators to their swapped version, e.g. LT --> GT */
 | 
					/* Map rich comparison operators to their swapped version, e.g. LT --> GT */
 | 
				
			||||||
extern int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
 | 
					int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Try a genuine rich comparison, returning an object.  Return:
 | 
					/* Try a genuine rich comparison, returning an object.  Return:
 | 
				
			||||||
   NULL for exception;
 | 
					   NULL for exception;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue