Kaydet (Commit) 6e0a3499 authored tarafından Guido van Rossum's avatar Guido van Rossum

Use PY_VERSION instead of PATCHLEVEL.

üst f1176c48
......@@ -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