Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 48598:de75e7280b7a
Correct one of the "MemoryError oddities":
the traceback would grow each time a MemoryError is raised.
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> |
|---|---|
| date | Thu, 31 Jul 2008 22:56:02 +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; }
