[Python-checkins] Fix documentation for input and output tutorial (GH-8231)

Miss Islington (bot) webhook-mailer at python.org
Tue Jul 10 21:08:46 EDT 2018


https://github.com/python/cpython/commit/def4b063f3384645e104f09c59aa03a7a90f4e69
commit: def4b063f3384645e104f09c59aa03a7a90f4e69
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-10T18:08:43-07:00
summary:

Fix documentation for input and output tutorial (GH-8231)


The ValueError message ends with a period.
(cherry picked from commit 9cffdbffc3b2dec18def1c3e8cfa166d01d609df)

Co-authored-by: Lysandros Nikolaou <lisandrosnik at gmail.com>

files:
M Doc/tutorial/inputoutput.rst

diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index d5531029d064..9fd939a20388 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -289,7 +289,7 @@ automatically fail. ::
    >>> f.read()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
-   ValueError: I/O operation on closed file
+   ValueError: I/O operation on closed file.
 
 
 .. _tut-filemethods:



More information about the Python-checkins mailing list