diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-13 13:09:54 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-13 13:09:54 (GMT) |
commit | 4e9e9c1c44309c90d167ab1e2a3e85582f1a52f8 (patch) | |
tree | 79a878b12a7ef1e3c56239cb262cab602f686f84 /Lib/_pyio.py | |
parent | e4b1a189a763824c226d804e5e73b826e7d7b70f (diff) | |
download | cpython-4e9e9c1c44309c90d167ab1e2a3e85582f1a52f8.zip cpython-4e9e9c1c44309c90d167ab1e2a3e85582f1a52f8.tar.gz cpython-4e9e9c1c44309c90d167ab1e2a3e85582f1a52f8.tar.bz2 |
Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode
Diffstat (limited to 'Lib/_pyio.py')
-rw-r--r-- | Lib/_pyio.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 1ce61e9..387c585 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): |