We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da0587b commit b59461bCopy full SHA for b59461b
src/typing_extensions.py
@@ -866,7 +866,7 @@ class Reader(Protocol[T_co]):
866
def read(self, size: int = ..., /) -> T_co:
867
"""Read data from the input stream and return it.
868
869
- If size is specified, at most size items (bytes/characters) will be
+ If *size* is specified, at most *size* items (bytes/characters) will be
870
read.
871
"""
872
@@ -881,7 +881,7 @@ class Writer(Protocol[T_contra]):
881
882
@abc.abstractmethod
883
def write(self, data: T_contra, /) -> int:
884
- """Write data to the output stream and return the number of items written."""
+ """Write *data* to the output stream and return the number of items written."""
885
886
887
_NEEDS_SINGLETONMETA = (
0 commit comments