Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 41508:55d761acdcbc
Don't crash when nonlocal is used at module level (fixes SF#1705365)
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Mon, 23 Apr 2007 10:14:27 +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; }
