From: Benjamin Peterson Date: Fri, 1 May 2009 20:48:14 +0000 (+0000) Subject: versionadded X-Git-Tag: v3.1b1~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edc364717ecd31be14c86cc73af1920c9efedf5f;p=python versionadded --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 57fc825760..2a3ee501f4 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