Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 25099:a69a12484d69 legacy-trunk
expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456.
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Tue, 03 Sep 2002 13:25:17 +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; }
