Mercurial > cpython-lru_cache-weakref
view Python/getcompiler.c @ 40410:2e5011acb414
Add built-in Print() function. This is PEP 3105 except for the name;
I'll rename it to print() later.
Now I can start working on the refactoring tool for print -> Print().
Also, sep and end should be required to be strings (or Unicode?).
Someone please volunteer.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 30 Nov 2006 22:13:52 +0000 |
| 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; }
