Staging
v0.5.1
https://github.com/python/cpython
Revision 7ca6c55a4e2655dc0e5d780c3cc2ed7234edd72f authored by Yury Selivanov on 17 August 2015, 18:46:51 UTC, committed by Yury Selivanov on 17 August 2015, 18:46:51 UTC
1 parent 6707906
Raw File
Tip revision: 7ca6c55a4e2655dc0e5d780c3cc2ed7234edd72f authored by Yury Selivanov on 17 August 2015, 18:46:51 UTC
Issue #24867: Fix asyncio.Task.get_stack() for 'async def' coroutines
Tip revision: 7ca6c55
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