Revision c3ffbbdf3d5645ee07c22649f2028f9dffc762ba authored by Łukasz Langa on 28 June 2021, 10:08:34 UTC, committed by Łukasz Langa on 28 June 2021, 10:08:34 UTC
1 parent 634da2d
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;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...