Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 42537:74a3c6826683
Remove support for __members__ and __methods__. There still might be
some cleanup to do on this. Particularly in Python/traceback.c with
getting rid of the getattr if possible and Demo/*metaclasses/Enum.py.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 11 Aug 2007 06:39:53 +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; }
