Staging
v0.5.1
https://github.com/python/cpython
Revision 24da47708d43c096999c097876f27aeaa09a592b authored by Fred Drake on 02 February 2001, 15:48:00 UTC, committed by Fred Drake on 02 February 2001, 15:48:00 UTC
1 parent 312a5dc
Raw File
Tip revision: 24da47708d43c096999c097876f27aeaa09a592b authored by Fred Drake on 02 February 2001, 15:48:00 UTC
Do not pass names of individual files to shutil.rmtree(); use os.unlink()
Tip revision: 24da477
getversion.c

/* Return the full version string. */

#include "Python.h"

#include "patchlevel.h"

const char *
Py_GetVersion(void)
{
	static char version[250];
	sprintf(version, "%.80s (%.80s) %.80s", PY_VERSION,
		Py_GetBuildInfo(), Py_GetCompiler());
	return version;
}
back to top