Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
59322e3f
Commit
59322e3f
authored
Jul 29, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #24729: Correct reference to open function.
parent
c15e99de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Doc/tutorial/inputoutput.rst
Doc/tutorial/inputoutput.rst
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/tutorial/inputoutput.rst
View file @
59322e3f
...
...
@@ -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.
...
...
Misc/NEWS
View file @
59322e3f
...
...
@@ -396,6 +396,9 @@ C API
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment