Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 55286:2dab8d63eb55 legacy-trunk
Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
| author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> |
|---|---|
| date | Fri, 17 Jul 2009 06:20:46 +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; }
