Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 51365:e239e977bb32 legacy-trunk
Implement issue #4285, convert sys.version_info to a named
tuple. Patch by Ross Light.
| author | Eric Smith <eric@trueblade.com> |
|---|---|
| date | Fri, 06 Feb 2009 00:48:26 +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; }
