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

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