mirror of
https://github.com/python/cpython.git
synced 2025-08-07 18:38:38 +00:00
[3.13] Doc: Fix archive filenames for standard builds (GH-124826) (#124836)
Doc: Fix archive filenames for standard builds (GH-124826)
(cherry picked from commit 91e64be731
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
bde4ae10ba
commit
4392c5980d
2 changed files with 9 additions and 3 deletions
|
@ -74,4 +74,8 @@ def get_version_info():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(format_version_info(get_header_version_info())[0])
|
||||
short_ver, full_ver = format_version_info(get_header_version_info())
|
||||
if sys.argv[1:2] == ["--short"]:
|
||||
print(short_ver)
|
||||
else:
|
||||
print(full_ver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue