Kaydet (Commit) 4e9e9c1c authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode

üst e4b1a189
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment