Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 21667:0d3bb68e3a28 legacy-trunk
Fixed "u#" parser marker to pass through Unicode objects as-is without
going through the buffer interface API.
Added tests for this to the _testcapi module and updated docs.
| author | Marc-André Lemburg <mal@egenix.com> |
|---|---|
| date | Wed, 09 Jan 2002 16:21:27 +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; }
