Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 32115:84dfa9a67da1 legacy-trunk
ConfigParser:
- don't allow setting options to non-string values; raise TypeError
when the value is set, instead of raising an arbitrary exception
later (such as when string interpolation is performed)
- add tests, documentation
(closes SF bug #810843)
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 18 May 2004 03:29: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; }
