Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 31778:c4bae089bfc8 legacy-trunk
Decref all if ensure_fromlist fails. Fixes #876533.
Backported to 2.3.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Tue, 23 Mar 2004 16:28:13 +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; }
