Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 79953:74d65c746f63 3.2
bounds check for bad data (thanks amaury)
| author | Philip Jenvey <pjenvey@underboss.org> |
|---|---|
| date | Fri, 26 Oct 2012 17:01:53 -0700 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
