Staging
v0.5.1
https://github.com/python/cpython
Revision 85da5e83de6bf0d5b670dffaed5b646c5ca5887b authored by Ronald Oussoren on 31 March 2009, 13:23:26 UTC, committed by Ronald Oussoren on 31 March 2009, 13:23:26 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70802 | ronald.oussoren | 2009-03-31 08:20:45 -0500 (Tue, 31 Mar 2009) | 4 lines

  Minor update to OSX build-installer script, needed
  to ensure that the build will succeed in a clean
  checkout and with a non-default deployment target.
........
1 parent 6009804
Raw File
Tip revision: 85da5e83de6bf0d5b670dffaed5b646c5ca5887b authored by Ronald Oussoren on 31 March 2009, 13:23:26 UTC
Merged revisions 70802 via svnmerge from
Tip revision: 85da5e8
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