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
|
||||
signature:
|
||||
|
||||
``.__init__(self, buffer, encoding=None, errors=None, newline=None,
|
||||
line_buffering=False)``
|
||||
``.__init__(self, buffer, encoding=None, errors=None, newline=None, line_buffering=False)``
|
||||
|
||||
``buffer`` is a reference to the ``BufferedIOBase`` object to
|
||||
be wrapped with the ``TextIOWrapper``.
|
||||
|
@ -393,8 +392,8 @@ signature:
|
|||
|
||||
* If translation is enabled, it happens regardless of which
|
||||
method is called for reading or writing. For example,
|
||||
{{{f.read()}}} will always produce the same result as
|
||||
{{{''.join(f.readlines())}}}.
|
||||
``f.read()`` will always produce the same result as
|
||||
``''.join(f.readlines())``.
|
||||
|
||||
* If universal newlines without translation are requested on
|
||||
input (i.e. ``newline=''``), if a system read operation
|
||||
|
|
Loading…
Reference in New Issue