Staging
v0.5.1
https://github.com/python/cpython
Revision a0a4ab177297a5d554e9312e6a154103817e8e63 authored by Fred Drake on 16 April 2001, 17:37:27 UTC, committed by Fred Drake on 16 April 2001, 17:37:27 UTC
recently reported bug; also exposed some other bugs in the implementation.
1 parent 1d9e4b7
Raw File
Tip revision: a0a4ab177297a5d554e9312e6a154103817e8e63 authored by Fred Drake on 16 April 2001, 17:37:27 UTC
Add a test case for Weak*Dictionary.update() that would have caught a
Tip revision: a0a4ab1
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