Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 76472:4e853913054c
Issue #13959: Continue to try to accomodate altsep in importlib by not
ignoring altsep if it already exists on a path when doing a join.
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Sun, 22 Apr 2012 11:45:07 -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; }
