mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Revert part of 3cb3e224b692 in code that I maintain.
This commit is contained in:
		
							parent
							
								
									631ada8424
								
							
						
					
					
						commit
						dada5a8d75
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -13,7 +13,7 @@ PyObject *Struct = NULL;
 | 
				
			||||||
PyObject *calcsize = NULL;
 | 
					PyObject *calcsize = NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* cache simple format string */
 | 
					/* cache simple format string */
 | 
				
			||||||
static const char simple_fmt[] = "B";
 | 
					static const char *simple_fmt = "B";
 | 
				
			||||||
PyObject *simple_format = NULL;
 | 
					PyObject *simple_format = NULL;
 | 
				
			||||||
#define SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
 | 
					#define SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
 | 
				
			||||||
#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)
 | 
					#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue