commit | 6e0a3499abd22582dd695a667863741cea1fb749 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Jan 03 12:41:50 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Jan 03 12:41:50 1999 +0000 |
tree | aa4235bf0496b7ec0f5d48b6996c5207ad6502a2 | |
parent | f1176c4815cd628ae443b5c4b0e1841588369776 [diff] |
Use PY_VERSION instead of PATCHLEVEL.
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 @@ 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; }