diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-07-29 18:04:36 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-07-29 18:04:36 (GMT) |
commit | 842c07414e336dce7a9ec74e1b7cedae2f7dd5ad (patch) | |
tree | e6e54be95cf1193815b2e53463c25a4d68fe85f6 /Doc | |
parent | d8de44b6b3b36ec76154e7107891106451d6e7de (diff) | |
download | cpython-842c07414e336dce7a9ec74e1b7cedae2f7dd5ad.zip cpython-842c07414e336dce7a9ec74e1b7cedae2f7dd5ad.tar.gz cpython-842c07414e336dce7a9ec74e1b7cedae2f7dd5ad.tar.bz2 |
Issue #24729: Correct reference to open function.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/inputoutput.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst index 29dc948..c157f22 100644 --- a/Doc/tutorial/inputoutput.rst +++ b/Doc/tutorial/inputoutput.rst @@ -248,8 +248,8 @@ omitted. Normally, files are opened in :dfn:`text mode`, that means, you read and write strings from and to the file, which are encoded in a specific encoding. If -encoding is not specified the default is platform dependent (see :func:`~functions.open`). -``'b'`` appended to the mode opens the file in +encoding is not specified, the default is platform dependent (see +:func:`open`). ``'b'`` appended to the mode opens the file in :dfn:`binary mode`: now the data is read and written in the form of bytes objects. This mode should be used for all files that don't contain text. |