mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Modify Parser/asdl_c.py so that the __version__ number for Python/Python-ast.c
is specified at the top of the file. Also add a note that Python/Python-ast.c needs to be committed separately after a change to the AST grammar to capture the revision number of the change (which is what __version__ is set to).
This commit is contained in:
		
							parent
							
								
									d080d4b047
								
							
						
					
					
						commit
						0db62aaf09
					
				
					 3 changed files with 30 additions and 4 deletions
				
			
		|  | @ -1,4 +1,13 @@ | |||
| /* File automatically generated by Parser/asdl_c.py */ | ||||
| /* File automatically generated by Parser/asdl_c.py. */ | ||||
| 
 | ||||
| 
 | ||||
| /*
 | ||||
|    __version__ 53731. | ||||
| 
 | ||||
|    This module must be committed separately after each AST grammar change; | ||||
|    The __version__ number is set to the revision number of the commit | ||||
|    containing the grammar change. | ||||
| */ | ||||
| 
 | ||||
| #include "Python.h" | ||||
| #include "Python-ast.h" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue