From: Andrew Svetlov Date: Mon, 13 Aug 2012 13:09:54 +0000 (+0300) Subject: Issue #15571: comment the fact what python impl of TextIOWrapper always works in... X-Git-Tag: v3.3.0rc1~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e9e9c1c44309c90d167ab1e2a3e85582f1a52f8;p=thirdparty%2FPython%2Fcpython.git Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode --- diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 1ce61e94b16f..387c58594e54 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -1461,6 +1461,9 @@ class TextIOWrapper(TextIOBase): _CHUNK_SIZE = 2048 + # The write_through argument has no effect here since this + # implementation always writes through. The argument is present only + # so that the signature can match the signature of the C version. def __init__(self, buffer, encoding=None, errors=None, newline=None, line_buffering=False, write_through=False): if newline is not None and not isinstance(newline, str):