mirror of https://github.com/python/cpython
6fdb62b1fa
`TextIOWrapper.__init__()` called `os.device_encoding(file.fileno())` if fileno is 0-2 and encoding=None. But it is very rarely works, and never documented behavior. |
||
---|---|---|
.. | ||
clinic | ||
_iomodule.c | ||
_iomodule.h | ||
bufferedio.c | ||
bytesio.c | ||
fileio.c | ||
iobase.c | ||
stringio.c | ||
textio.c | ||
winconsoleio.c |