Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 77181:96ab78ef82a7
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Sun, 27 May 2012 18:17:07 +1000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
