Staging
v0.8.1
https://github.com/python/cpython
Revision 5f25972a0550e6754407652ab3818f6aaf11a965 authored by Georg Brandl on 04 May 2009, 20:50:30 UTC, committed by Georg Brandl on 04 May 2009, 20:50:30 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72292 | georg.brandl | 2009-05-04 22:49:17 +0200 (Mo, 04 Mai 2009) | 1 line

  #5916, 5917: small socket doc improvements.
........
1 parent 9460648
Raw File
Tip revision: 5f25972a0550e6754407652ab3818f6aaf11a965 authored by Georg Brandl on 04 May 2009, 20:50:30 UTC
Merged revisions 72292 via svnmerge from
Tip revision: 5f25972
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