changeset: 97132:20084be60761 branch: 3.4 user: Jason R. Coombs date: Wed Jul 29 14:04:36 2015 -0400 files: Doc/tutorial/inputoutput.rst Misc/NEWS description: Issue #24729: Correct reference to open function. diff -r c9e78d91d588 -r 20084be60761 Doc/tutorial/inputoutput.rst --- a/Doc/tutorial/inputoutput.rst Tue Jul 28 21:00:10 2015 +0200 +++ b/Doc/tutorial/inputoutput.rst Wed Jul 29 14:04:36 2015 -0400 @@ -248,8 +248,8 @@ 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. diff -r c9e78d91d588 -r 20084be60761 Misc/NEWS --- a/Misc/NEWS Tue Jul 28 21:00:10 2015 +0200 +++ b/Misc/NEWS Wed Jul 29 14:04:36 2015 -0400 @@ -396,6 +396,9 @@ 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 string.Template instances.