summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-10-27 14:36:50 (GMT)
committerGeorg Brandl <georg@python.org>2009-10-27 14:36:50 (GMT)
commit0dfdf006a6e421cf9a8155b6d20e6e39c6387e92 (patch)
tree201070e9a93325f635f5a800f11ea1b4c46ce17a /Doc/library/io.rst
parentcda25a1af6e5adfafa5a61961fa6a30be53ddd5a (diff)
downloadcpython-0dfdf006a6e421cf9a8155b6d20e6e39c6387e92.zip
cpython-0dfdf006a6e421cf9a8155b6d20e6e39c6387e92.tar.gz
cpython-0dfdf006a6e421cf9a8155b6d20e6e39c6387e92.tar.bz2
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. ........
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index fdacabb..f2240ec 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -37,7 +37,7 @@ buffered text interface to a buffered raw stream
stream for text.
Argument names are not part of the specification, and only the arguments of
-:func:`open` are intended to be used as keyword arguments.
+:func:`.open` are intended to be used as keyword arguments.
Module Interface
@@ -46,7 +46,7 @@ Module Interface
.. data:: DEFAULT_BUFFER_SIZE
An int containing the default buffer size used by the module's buffered I/O
- classes. :func:`open` uses the file's blksize (as obtained by
+ classes. :func:`.open` uses the file's blksize (as obtained by
:func:`os.stat`) if possible.
.. function:: open(file[, mode[, buffering[, encoding[, errors[, newline[, closefd=True]]]]]])
@@ -138,8 +138,8 @@ Module Interface
when the file is closed. If a filename is given *closefd* has no
effect but must be ``True`` (the default).
- The type of file object returned by the :func:`open` function depends
- on the mode. When :func:`open` is used to open a file in a text mode
+ The type of file object returned by the :func:`.open` function depends
+ on the mode. When :func:`.open` is used to open a file in a text mode
(``'w'``, ``'r'``, ``'wt'``, ``'rt'``, etc.), it returns a
:class:`TextIOWrapper`. When used to open a file in a binary mode,
the returned class varies: in read binary mode, it returns a
@@ -250,7 +250,7 @@ I/O Base Classes
most *limit* bytes will be read.
The line terminator is always ``b'\n'`` for binary files; for text files,
- the *newlines* argument to :func:`open` can be used to select the line
+ the *newlines* argument to :func:`.open` can be used to select the line
terminator(s) recognized.
.. method:: readlines([hint])