@@ -39,7 +39,7 @@ buffered text interface to a buffered raw stream
3939stream for text.
4040
4141Argument names are not part of the specification, and only the arguments of
42- :func: `open ` are intended to be used as keyword arguments.
42+ :func: `. open ` are intended to be used as keyword arguments.
4343
4444
4545Module Interface
@@ -48,7 +48,7 @@ Module Interface
4848.. data :: DEFAULT_BUFFER_SIZE
4949
5050 An int containing the default buffer size used by the module's buffered I/O
51- classes. :func: `open ` uses the file's blksize (as obtained by
51+ classes. :func: `. open ` uses the file's blksize (as obtained by
5252 :func: `os.stat `) if possible.
5353
5454.. function :: open(file, mode='r', buffering=None, encoding=None, errors=None, newline=None, closefd=True)
@@ -142,8 +142,8 @@ Module Interface
142142 closed. If a filename is given *closefd * has no effect and must be ``True ``
143143 (the default).
144144
145- The type of file object returned by the :func: `open ` function depends on the
146- mode. When :func: `open ` is used to open a file in a text mode (``'w' ``,
145+ The type of file object returned by the :func: `. open ` function depends on the
146+ mode. When :func: `. open ` is used to open a file in a text mode (``'w' ``,
147147 ``'r' ``, ``'wt' ``, ``'rt' ``, etc.), it returns a subclass of
148148 :class: `TextIOBase ` (specifically :class: `TextIOWrapper `). When used to open
149149 a file in a binary mode with buffering, the returned class is a subclass of
@@ -256,7 +256,7 @@ I/O Base Classes
256256 most *limit * bytes will be read.
257257
258258 The line terminator is always ``b'\n' `` for binary files; for text files,
259- the *newlines * argument to :func: `open ` can be used to select the line
259+ the *newlines * argument to :func: `. open ` can be used to select the line
260260 terminator(s) recognized.
261261
262262 .. method :: readlines(hint=-1)
0 commit comments