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

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

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-07-10 18:08:43 -07:00 committed by GitHub
parent cb14eb7eed
commit def4b063f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: