Fix what appeared to be misused markup and one warning on markup.
This commit is contained in:
parent
68c60195dd
commit
a6b5940566
|
@ -339,8 +339,7 @@ object. Each ``TextIOWrapper`` object has a property named
|
||||||
``BufferedIOBase`` object. Its initializer has the following
|
``BufferedIOBase`` object. Its initializer has the following
|
||||||
signature:
|
signature:
|
||||||
|
|
||||||
``.__init__(self, buffer, encoding=None, errors=None, newline=None,
|
``.__init__(self, buffer, encoding=None, errors=None, newline=None, line_buffering=False)``
|
||||||
line_buffering=False)``
|
|
||||||
|
|
||||||
``buffer`` is a reference to the ``BufferedIOBase`` object to
|
``buffer`` is a reference to the ``BufferedIOBase`` object to
|
||||||
be wrapped with the ``TextIOWrapper``.
|
be wrapped with the ``TextIOWrapper``.
|
||||||
|
@ -393,8 +392,8 @@ signature:
|
||||||
|
|
||||||
* If translation is enabled, it happens regardless of which
|
* If translation is enabled, it happens regardless of which
|
||||||
method is called for reading or writing. For example,
|
method is called for reading or writing. For example,
|
||||||
{{{f.read()}}} will always produce the same result as
|
``f.read()`` will always produce the same result as
|
||||||
{{{''.join(f.readlines())}}}.
|
``''.join(f.readlines())``.
|
||||||
|
|
||||||
* If universal newlines without translation are requested on
|
* If universal newlines without translation are requested on
|
||||||
input (i.e. ``newline=''``), if a system read operation
|
input (i.e. ``newline=''``), if a system read operation
|
||||||
|
|
Loading…
Reference in New Issue