Staging
v0.8.1
Revision 9e927f156435884b1d95b3507357305c1590bd6c authored by Fred Drake on 10 November 2004, 15:49:25 UTC, committed by Fred Drake on 10 November 2004, 15:49:25 UTC
1 parent b194b5b
Raw File
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