From: Guido van Rossum Date: Sun, 3 Jan 1999 12:41:50 +0000 (+0000) Subject: Use PY_VERSION instead of PATCHLEVEL. X-Git-Tag: v1.5.2b2~483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e0a3499abd22582dd695a667863741cea1fb749;p=python Use PY_VERSION instead of PATCHLEVEL. --- diff --git a/Python/getversion.c b/Python/getversion.c index 4553357c18..ead8e77763 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; }