Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 78406:09408b990ca5 3.2
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Sat, 04 Aug 2012 01:37:32 +0200 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
