Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 51959:d342a725b2d5
instead of hacking __locals__ in during bytecode generation, put it in the symtable
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Tue, 03 Mar 2009 00:54:05 +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; }
