diff options
| author | Guido van Rossum <guido@python.org> | 1999-01-03 12:41:50 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1999-01-03 12:41:50 +0000 |
| commit | b80a85d2a0998c2854d70bd46bb9812ad6857e0e (patch) | |
| tree | 10df364d38615a179ce77e50247a21c7df8fea5e /Python/getversion.c | |
| parent | d4960b5b21c713f2636efdf40856294d23c033c5 (diff) | |
| download | cpython-b80a85d2a0998c2854d70bd46bb9812ad6857e0e.tar.gz | |
Use PY_VERSION instead of PATCHLEVEL.
Diffstat (limited to 'Python/getversion.c')
| -rw-r--r-- | Python/getversion.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
