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 17:51:03 -07:00 committed by GitHub
parent 5cca6f9fbe
commit c87b1aabbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ automatically fail. ::
>>> f.read() >>> f.read()
Traceback (most recent call last): Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "<stdin>", line 1, in <module>
ValueError: I/O operation on closed file ValueError: I/O operation on closed file.
.. _tut-filemethods: .. _tut-filemethods: