mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
versionadded
This commit is contained in:
parent
ef9f2bde37
commit
edc364717e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue