Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 39648:efe3f2c0da5e
Killed the <> operator. You must now use !=.
Opportunistically also fixed one or two places where '<> None' should be
'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 24 Aug 2006 03:53:23 +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; }
