Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 84936:79e2f5bbc30c
Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Wed, 31 Jul 2013 23:14:08 +0200 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
