Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 48217:eefe4450f773 2.5
Backport r60148 and r65481: sanity checks to avoid infinite loops.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 12 Aug 2008 08:46: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; }
