diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-01 20:48:14 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-01 20:48:14 (GMT) |
commit | edc364717ecd31be14c86cc73af1920c9efedf5f (patch) | |
tree | 11701b78892c407f2dca00a660f0fafa256ff2c3 | |
parent | ef9f2bde372d2213baa71467731be9d0e5317160 (diff) | |
download | cpython-edc364717ecd31be14c86cc73af1920c9efedf5f.zip cpython-edc364717ecd31be14c86cc73af1920c9efedf5f.tar.gz cpython-edc364717ecd31be14c86cc73af1920c9efedf5f.tar.bz2 |
versionadded
-rw-r--r-- | Doc/library/io.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 57fc825..2a3ee50 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -373,6 +373,8 @@ I/O Base Classes raw stream to return from this method. They raise :exc:`UnsupportedOperation`. + .. versionadded:: 3.1 + .. method:: read([n]) Read and return up to *n* bytes. If the argument is omitted, ``None``, or @@ -613,6 +615,8 @@ Text I/O have the concept of an underlying buffer and calling this method will raise :exc:`UnsupportedOperation`. + .. versionadded:: 3.1 + .. method:: read(n) Read and return at most *n* characters from the stream as a single |