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:
Georg Brandl 2010-10-29 05:30:17 +00:00
parent b98273fff9
commit a17fd1f3b5
2 changed files with 37 additions and 17 deletions

View file

@ -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])