[docs] [issue15555] Default newlines of io.TextIOWrapper

Chris Jerdonek report at bugs.python.org
Thu Aug 9 21:11:18 CEST 2012


Chris Jerdonek added the comment:

What is the change to the documentation being suggested here?  The code does reference os.linesep, so it seems like the documentation is correct, or am I missing something?

        self._writetranslate = newline != ''
        self._writenl = newline or os.linesep
        self._encoder = None

http://hg.python.org/cpython/file/20a46c73855f/Lib/_pyio.py#l1501

----------
nosy: +cjerdonek

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15555>
_______________________________________


More information about the docs mailing list