Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 41728:6ea93700d779
It's ok for __hex__ or __oct__ to return unicode.
Don't insist that float('1'*10000) raises an exception.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 15 May 2007 21:32:59 +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; }
