view Python/getversion.c @ 77670:8beffdfa29cd

Remove obsolete fixapplepython23 script and PythonSystemFixes installer package from the OS X Makefile for Python 3. It has never worked on Python 3 and is not needed there as pre-10.3.9 installs are no longer supported.
author Ned Deily <nad@acm.org>
date Sun, 24 Jun 2012 00:19:31 -0700
parents 0dcae455ec07
children
line wrap: on
line source


/* 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;
}