mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Port suspicious markup builder and patchlevel.py so that they can be used with Python 2 and 3 without conversion.
This commit is contained in:
parent
b98273fff9
commit
a17fd1f3b5
2 changed files with 37 additions and 17 deletions
|
@ -68,4 +68,4 @@ def get_version_info():
|
|||
return version, release
|
||||
|
||||
if __name__ == '__main__':
|
||||
print get_header_version_info('.')[1]
|
||||
print(get_header_version_info('.')[1])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue