Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 38184:e7d30d75dae7 legacy-trunk
Remove bogus DECREF of self.
Change __str__() functions to METH_O.
Change WindowsError__str__ to use PyTuple_Pack.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Mon, 15 May 2006 09:22:27 +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; }
