Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 55912:d4e3af343e32
Merged revisions 74464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74464 | benjamin.peterson | 2009-08-15 17:59:21 -0500 (Sat, 15 Aug 2009) | 4 lines
better col_offsets for "for" statements with tuple unpacking #6704
Patch from Frank Wierzbicki.
........
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 11 Sep 2009 22:36:20 +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; }
