Commit b80a85d2 authored by Guido van Rossum's avatar Guido van Rossum

Use PY_VERSION instead of PATCHLEVEL.

parent d4960b5b
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment