https://github.com/python/cpython
Raw File
Tip revision: 38c508a00c32a6ce45a10b705adf8c818fa49dcd authored by Ned Deily on 22 November 2016, 04:30:55 UTC
Version bump for 3.6.0b4
Tip revision: 38c508a
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;
}
back to top