Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 82459:f1d3fbcd837d
#17032: The "global" in the "NameError: global name 'x' is not defined" error message has been removed. Patch by Ram Rachum.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Sun, 03 Mar 2013 15:12:44 +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; }
