Commit a331acc0 authored by Benjamin Peterson's avatar Benjamin Peterson

versionadded

parent 317724ed
...@@ -373,6 +373,8 @@ I/O Base Classes ...@@ -373,6 +373,8 @@ I/O Base Classes
raw stream to return from this method. They raise raw stream to return from this method. They raise
:exc:`UnsupportedOperation`. :exc:`UnsupportedOperation`.
.. versionadded:: 3.1
.. method:: read([n]) .. method:: read([n])
Read and return up to *n* bytes. If the argument is omitted, ``None``, or Read and return up to *n* bytes. If the argument is omitted, ``None``, or
...@@ -613,6 +615,8 @@ Text I/O ...@@ -613,6 +615,8 @@ Text I/O
have the concept of an underlying buffer and calling this method will have the concept of an underlying buffer and calling this method will
raise :exc:`UnsupportedOperation`. raise :exc:`UnsupportedOperation`.
.. versionadded:: 3.1
.. method:: read(n) .. method:: read(n)
Read and return at most *n* characters from the stream as a single Read and return at most *n* characters from the stream as a single
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment