Staging
v0.5.1
v0.5.1
Revision 6af16190f6657fc482d84b4c4e3bdfc2c63d8a42 authored by Barry Warsaw on 18 September 2008, 04:33:43 UTC, committed by Barry Warsaw on 18 September 2008, 04:33:43 UTC
1 parent 900155f
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 ...