Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 15487:f0ca4c67957b legacy-trunk
_getframe(): New sys module function for getting at the stack frame.
Implements and closes SF patch #102106, with Guido's suggested
documentation changes.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 06 Dec 2000 21:47:46 +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; }
