Issue #24729: Correct reference to open function.

This commit is contained in:
Jason R. Coombs 2015-07-29 14:04:36 -04:00
parent d8de44b6b3
commit 842c07414e
2 changed files with 5 additions and 2 deletions

View File

@ -248,8 +248,8 @@ omitted.
Normally, files are opened in :dfn:`text mode`, that means, you read and write 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 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`). encoding is not specified, the default is platform dependent (see
``'b'`` appended to the mode opens the file in :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 :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. objects. This mode should be used for all files that don't contain text.

View File

@ -396,6 +396,9 @@ C API
Documentation Documentation
------------- -------------
- Issue #24729: Correct IO tutorial to match implementation regarding
encoding parameter to open function.
- Issue #24351: Clarify what is meant by "identifier" in the context of - Issue #24351: Clarify what is meant by "identifier" in the context of
string.Template instances. string.Template instances.