]> granicus.if.org Git - python/commitdiff
Use PY_VERSION instead of PATCHLEVEL.
authorGuido van Rossum <guido@python.org>
Sun, 3 Jan 1999 12:41:50 +0000 (12:41 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 3 Jan 1999 12:41:50 +0000 (12:41 +0000)
Python/getversion.c

index 4553357c18eea52d308a41f05f1c2ab071d33a76..ead8e777633f2a8b99ce6974fe0483c8327b2d70 100644 (file)
@@ -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;
 }