Staging
v0.5.1
https://github.com/python/cpython
Revision 1691813106b64eb0d5f1bee0a569c5126b6b5690 authored by Gregory P. Smith on 02 May 2009, 19:01:54 UTC, committed by Gregory P. Smith on 02 May 2009, 19:01:54 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72210 | gregory.p.smith | 2009-05-02 11:58:21 -0700 (Sat, 02 May 2009) | 2 lines

  Convert test method names to PEP8 style.
........
1 parent db12d45
Raw File
Tip revision: 1691813106b64eb0d5f1bee0a569c5126b6b5690 authored by Gregory P. Smith on 02 May 2009, 19:01:54 UTC
Merged revisions 72210 via svnmerge from
Tip revision: 1691813
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