diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/getversion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/getversion.c b/Python/getversion.c index c32b6f9..4691045 100644 --- a/Python/getversion.c +++ b/Python/getversion.c @@ -13,3 +13,6 @@ Py_GetVersion(void) PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler()); return version; } + +// Export the Python hex version as a constant. +const unsigned long Py_Version = PY_VERSION_HEX; |