Staging
v0.5.1
https://github.com/python/cpython
Revision d5cf14348269f1faf06322a8c159cc50e98e736b authored by Michael W. Hudson on 30 June 2004, 09:02:33 UTC, committed by Michael W. Hudson on 30 June 2004, 09:02:33 UTC
on the marshalling characteristics of infinities.
1 parent 96b935e
Raw File
Tip revision: d5cf14348269f1faf06322a8c159cc50e98e736b authored by Michael W. Hudson on 30 June 2004, 09:02:33 UTC
Check in the updated version of patch #957240, which doesn't rely
Tip revision: d5cf143
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