mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
whatever is being documented, not necessarily Python. (These tools are also used for the How-To documents, etc.)
This commit is contained in:
		
							parent
							
								
									e4359952c0
								
							
						
					
					
						commit
						d04592a46b
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		|  | @ -103,13 +103,13 @@ sub do_cmd_e{ '\' . @_[0]; } | ||||||
| 
 | 
 | ||||||
| $DEVELOPER_ADDRESS = ''; | $DEVELOPER_ADDRESS = ''; | ||||||
| $SHORT_VERSION = ''; | $SHORT_VERSION = ''; | ||||||
| $PYTHON_VERSION = ''; | $PACKAGE_VERSION = ''; | ||||||
| 
 | 
 | ||||||
| sub do_cmd_version{ $PYTHON_VERSION . @_[0]; } | sub do_cmd_version{ $PACKAGE_VERSION . @_[0]; } | ||||||
| sub do_cmd_shortversion{ $SHORT_VERSION . @_[0]; } | sub do_cmd_shortversion{ $SHORT_VERSION . @_[0]; } | ||||||
| sub do_cmd_release{ | sub do_cmd_release{ | ||||||
|     local($_) = @_; |     local($_) = @_; | ||||||
|     $PYTHON_VERSION = next_argument(); |     $PACKAGE_VERSION = next_argument(); | ||||||
|     return $_; |     return $_; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -1024,6 +1024,9 @@ sub fix_font{ | ||||||
|     elsif ($font eq 'kbd') { |     elsif ($font eq 'kbd') { | ||||||
|         $font = 'kbd'; |         $font = 'kbd'; | ||||||
|     } |     } | ||||||
|  |     elsif ($font eq 'programopt') { | ||||||
|  |         $font = 'b'; | ||||||
|  |     } | ||||||
|     return $font; |     return $font; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -1270,8 +1273,8 @@ sub make_my_titlepage() { | ||||||
|     } |     } | ||||||
|     if ($t_date) { |     if ($t_date) { | ||||||
| 	$the_title .= "\n<p><strong>$t_date</strong>"; | 	$the_title .= "\n<p><strong>$t_date</strong>"; | ||||||
| 	if ($PYTHON_VERSION) { | 	if ($PACKAGE_VERSION) { | ||||||
| 	    $the_title .= "<br><strong>Release $PYTHON_VERSION</strong>"; | 	    $the_title .= "<br><strong>Release $PACKAGE_VERSION</strong>"; | ||||||
|         } |         } | ||||||
| 	$the_title .= "</p>" | 	$the_title .= "</p>" | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake