Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 16763:2f585cbe71da legacy-trunk
Shuffle premature decref; nuke unreachable code block.
Fixes the "debug-build -O test_builtin.py and no test_b2.pyo" crash just
discussed on Python-Dev.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Fri, 23 Feb 2001 22:23: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; }
