Mercurial > cpython-lru_cache-weakref
view Python/getcompiler.c @ 73617:fa2f8dd077e0
Issue #10227: Add an allocation cache for a single slice object.
Patch by Stefan Behnel.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Fri, 18 Nov 2011 20:14:34 +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; }
