Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 68110:44cc9ef43127
Issue #3080: Mark _PyImport_FindBuiltin() argument as constant
And as a consequence, mark also name argument of
_PyImport_FindExtensionUnicode() constant too. But I plan to change this
argument type to PyObject* later.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Wed, 23 Feb 2011 00:02:00 +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; }
