Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 41139:9db3e325dd88 legacy-trunk
Fix some style nits:
* lines too long
* wrong indentation
* space after a function name
* wrong function name in error string
* simplifying some logic
Also add an error check to PyDict_SetItemString.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Tue, 13 Mar 2007 05:31:38 +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; }
