Staging
v0.8.1
v0.8.1
Revision fa5d6a5ff3ca247d9c2eaf51853ff39c98c09f4a authored by Stefan Krah on 29 January 2015, 13:27:23 UTC, committed by Stefan Krah on 29 January 2015, 13:27:23 UTC
1 parent 2934262
getversion.c
/* 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;
}
Computing file changes ...