changeset: 78541:ba055ccd99ef user: Andrew Svetlov date: Mon Aug 13 16:09:54 2012 +0300 files: Lib/_pyio.py description: Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode diff -r 9e098890ea2c -r ba055ccd99ef Lib/_pyio.py --- a/Lib/_pyio.py Mon Aug 13 12:59:00 2012 +0300 +++ b/Lib/_pyio.py Mon Aug 13 16:09:54 2012 +0300 @@ -1461,6 +1461,9 @@ _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):

AltStyle によって変換されたページ (->オリジナル) /