File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2821,7 +2821,7 @@ decorated with :func:`@runtime_checkable <runtime_checkable>`.
28212821
28222822.. class :: Reader[T]
28232823
2824- Protocol for reading from a file or other I/O stream.
2824+ Protocol for reading from a file or other input stream.
28252825
28262826 .. method :: read(size=...)
28272827 .. method :: readline(size=...)
@@ -2836,7 +2836,7 @@ decorated with :func:`@runtime_checkable <runtime_checkable>`.
28362836
28372837.. class :: Writer[T]
28382838
2839- Protocol for writing to a file or other I/O stream.
2839+ Protocol for writing to a file or other output stream.
28402840
28412841 .. method :: write(o)
28422842
@@ -2846,7 +2846,7 @@ decorated with :func:`@runtime_checkable <runtime_checkable>`.
28462846 writer.write(b"Hello world!\n")
28472847
28482848Also consider using :class: `collections.abc.Iterable ` for iterating over
2849- a stream::
2849+ the lines of an input stream::
28502850
28512851 def read_config(stream: Iterable[str]):
28522852 for line in stream:
You can’t perform that action at this time.
0 commit comments