Staging
v0.5.1
https://github.com/python/cpython
Revision ce1bd6ac7ffaf396157a9ceb55b281a3b196323f authored by Mariatta on 23 June 2017, 02:18:05 UTC, committed by GitHub on 23 June 2017, 02:18:05 UTC
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
1 parent 491afb5
Raw File
Tip revision: ce1bd6ac7ffaf396157a9ceb55b281a3b196323f authored by Mariatta on 23 June 2017, 02:18:05 UTC
[3.5] bpo-30619: Clarify typing.Union documentation (GH-2326) (GH-2338)
Tip revision: ce1bd6a
getcompiler.c

/* Return the compiler identification, if possible. */

#include "Python.h"

#ifndef COMPILER

#ifdef __GNUC__
#define COMPILER "\n[GCC " __VERSION__ "]"
#endif

#endif /* !COMPILER */

#ifndef COMPILER

#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif

#endif /* !COMPILER */

const char *
Py_GetCompiler(void)
{
	return COMPILER;
}
back to top