Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 54090:e3dfcd1fe210
Merged revisions 72658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72658 | collin.winter | 2009-05-14 16:26:30 -0700 (Thu, 14 May 2009) | 1 line
Issue 6024: make regrtest.py promote refleaks to test failures.
........
| author | Collin Winter <collinw@gmail.com> |
|---|---|
| date | Fri, 15 May 2009 01:20:21 +0000 |
| parents | 379fc66f4c96 |
| children | 9f2fbee420da |
line wrap: on
line source
/* Return the full version string. */ #include "Python.h" #include "patchlevel.h" const char * Py_GetVersion(void) { static char version[250]; PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s", PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler()); return version; }
