mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	* xxobject.c: added tp_as_number, tp_as_sequence, tp_as_mapping to
the type object.
This commit is contained in:
		
							parent
							
								
									2670a16c2e
								
							
						
					
					
						commit
						70d7a310a9
					
				
					 1 changed files with 9 additions and 6 deletions
				
			
		| 
						 | 
					@ -129,4 +129,7 @@ static typeobject Xxtype = {
 | 
				
			||||||
	xx_setattr,		/*tp_setattr*/
 | 
						xx_setattr,		/*tp_setattr*/
 | 
				
			||||||
	0,			/*tp_compare*/
 | 
						0,			/*tp_compare*/
 | 
				
			||||||
	0,			/*tp_repr*/
 | 
						0,			/*tp_repr*/
 | 
				
			||||||
 | 
						0,			/*tp_as_number*/
 | 
				
			||||||
 | 
						0,			/*tp_as_sequence*/
 | 
				
			||||||
 | 
						0,			/*tp_as_mapping*/
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue