Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 33680:bcafb68ad985 legacy-trunk
SF patch #1035498: -m option to run a module as a script
(Contributed by Nick Coghlan.)
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Thu, 07 Oct 2004 06:46:25 +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; }
