Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 45880:ee0dfccf8cee legacy-trunk
Added a warning when -3 is enabled and None is passed to filter as the first argument.
| author | David Wolever <david@wolever.net> |
|---|---|
| date | Tue, 18 Mar 2008 21:20:25 +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; }
