summaryrefslogtreecommitdiff
path: root/docs/examples/tutorial/external/py_version_hex.pyx
blob: e33f207c142fb6897065b4f679962952e52b02ad (plain)
1
2
3
4
from cpython.version cimport PY_VERSION_HEX

# Python version >= 3.2 final ?
print(PY_VERSION_HEX >= 0x030200F0)