Mercurial > cpython-lru_cache-weakref
diff Python/getversion.c @ 9745:6fc58d79dac5 legacy-trunk
Use PY_VERSION instead of PATCHLEVEL.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 03 Jan 1999 12:41:50 +0000 |
| parents | 728a083242a2 |
| children | 8efa37a770c6 |
line wrap: on
line diff
--- a/Python/getversion.c Sun Jan 03 12:40:24 1999 +0000 +++ b/Python/getversion.c Sun Jan 03 12:41:50 1999 +0000 @@ -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; }
