diff options
author | Guido van Rossum <guido@python.org> | 1999-01-03 12:55:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-03 12:55:39 (GMT) |
commit | e0d7dae3b8008b5037df6cb212ca6efacf7a012d (patch) | |
tree | 656f8e64fab11ca304073972dba276947a50a43b /Misc/Porting | |
parent | 6e0a3499abd22582dd695a667863741cea1fb749 (diff) | |
download | cpython-e0d7dae3b8008b5037df6cb212ca6efacf7a012d.zip cpython-e0d7dae3b8008b5037df6cb212ca6efacf7a012d.tar.gz cpython-e0d7dae3b8008b5037df6cb212ca6efacf7a012d.tar.bz2 |
Add sys.hexversion, which is an integer encoding the version in hexadecimal.
In other words, hex(sys.hexversion) == 0x010502b2 for Python 1.5.2b2.
This is derived from the new variable PY_VERSION_HEX defined in patchlevel.h.
(Cute, eh?)
Diffstat (limited to 'Misc/Porting')
0 files changed, 0 insertions, 0 deletions