Staging
v0.8.1
https://github.com/python/cpython
Revision ada0d182bd97cf1fa94e7843647078e418084cfa authored by Neal Norwitz on 04 February 2006, 22:59:56 UTC, committed by Neal Norwitz on 04 February 2006, 22:59:56 UTC
1 parent 71a92a8
Raw File
Tip revision: ada0d182bd97cf1fa94e7843647078e418084cfa authored by Neal Norwitz on 04 February 2006, 22:59:56 UTC
SF bug 1415455, fix typo in module name
Tip revision: ada0d18
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