Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 38489:3fe3ccdf0155 legacy-trunk
Make use of METH_O and METH_NOARGS where possible.
Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Mon, 29 May 2006 21:04:52 +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; }
