Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 45818:ff0ab7b28f49 legacy-trunk
- Issue #2371: Add a Py3k warning when catching an exception that
doesn't derive from BaseException.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 18 Mar 2008 02:49:46 +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; }
