summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/getversion.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/getversion.c b/Python/getversion.c
index 4553357..ead8e77 100644
--- a/Python/getversion.c
+++ b/Python/getversion.c
@@ -39,6 +39,7 @@ const char *
Py_GetVersion()
{
static char version[80];
- sprintf(version, "%.10s (%.30s) %.30s", PATCHLEVEL, Py_GetBuildInfo(), Py_GetCompiler());
+ sprintf(version, "%.10s (%.30s) %.30s", PY_VERSION,
+ Py_GetBuildInfo(), Py_GetCompiler());
return version;
}