summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 14f7506..3b699cc 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -214,7 +214,7 @@ I/O Base Classes
.. method:: close()
Flush and close this stream. This method has no effect if the file is
- already closed. Once the file is closed, any operation on the file
+ already closed. Once the file is closed, any operation on the file
(e.g. reading or writing) will raise an :exc:`IOError`. The internal
file descriptor isn't closed if *closefd* was False.
@@ -628,7 +628,7 @@ Text I/O
.. attribute:: line_buffering
Whether line buffering is enabled.
-
+
.. class:: StringIO([initial_value[, encoding[, errors[, newline]]]])
@@ -659,7 +659,7 @@ Text I/O
# 'First line.\nSecond line.\n'
contents = output.getvalue()
- # Close object and discard memory buffer --
+ # Close object and discard memory buffer --
# .getvalue() will now raise an exception.
output.close()