Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 66521:1b77f2eb1606
Issue #10518: Bring back the callable() builtin.
Approved by Guido (BDFL) and Georg (RM).
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 27 Nov 2010 22:00:11 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
