Skip to content

Commit 96080fe

Browse files
srittauAA-Turner
andauthored
Split signature
Co-authored-by: Adam Turner <[email protected]>
1 parent 3b5975e commit 96080fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/io.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,8 @@ with :deco:`typing.runtime_checkable`.
11601160

11611161
.. versionadded:: next
11621162

1163-
.. method:: read(size=..., /)
1163+
.. method:: read()
1164+
read(size, /)
11641165

11651166
Read data from the input stream and return it. If ``size`` is
11661167
specified, at most ``size`` items (bytes/characters) will be read.

0 commit comments

Comments
 (0)