Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 70865:f9b4cfc19264 3.2
#6771: fix docs: curses.wrapper is exposed as a function, not a module
Patch by July Tikhonov.
| author | R David Murray <rdmurray@bitdance.com> |
|---|---|
| date | Sat, 18 Jun 2011 19:34:12 -0400 |
| parents | 0dcae455ec07 |
| children |
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; }
