Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 32781:caaef302f1e3 legacy-trunk
Patch #984714: Properly diagnose E_DECODE errors.
Backported to 2.3.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Wed, 21 Jul 2004 05:35: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; }
