Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 29224:858d568ebf76 legacy-trunk
Use macro to get length of list.
Remove comment about how code used to work.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Thu, 22 May 2003 16:22:33 +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; }
