Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 73879:a541bda2f5e2
Issue #11051: Reduce the number of syscalls per import.
| author | Charles-François Natali <neologix@free.fr> |
|---|---|
| date | Wed, 07 Dec 2011 19:16:01 +0100 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
