Mercurial > cpython-lru_cache-weakref
view Python/getcompiler.c @ 79202:e2262fcbb366 2.7
Pass on parameters in unittest.TextTestResult.__init__ super call
| author | Michael Foord <michael@voidspace.org.uk> |
|---|---|
| date | Fri, 28 Sep 2012 12:54:56 +0100 |
| parents | 4306107b1395 |
| children |
line wrap: on
line source
/* 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; }
