summaryrefslogtreecommitdiffstats
path: root/Python/getversion.c
blob: 7bd6efd0a0154700113ba39a6c0fd820e82bfbd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

/* 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;
}
tive/post_open_fix Mirror from: https://github.com/HDFGroup/hdf5.git
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-04-14 16:54:16 (GMT)
committerlrknox <lrknox>2017-04-14 16:54:16 (GMT)
commit25ec07450af4d2bc4da2478bc3652a6772c73109 (patch)
treef942e5335edee9002f5e76323bce60fcfd363ae3 /bin
parentb77e601996ea89c8a25f0ce12e3a6a0058fac63e (diff)
download