]> granicus.if.org Git - python/commitdiff
Issue #15571: comment the fact what python impl of TextIOWrapper always works in...
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 13 Aug 2012 13:09:54 +0000 (16:09 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 13 Aug 2012 13:09:54 +0000 (16:09 +0300)
Lib/_pyio.py

index 1ce61e94b16f4d5250cc93f06ab4d58f516df27f..387c58594e548cf72ac4d864a8ad14a76accc3b2 100644 (file)
@@ -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):