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 dad6e79 commit 56bb7aaCopy full SHA for 56bb7aa
src/typing_extensions.py
@@ -883,7 +883,7 @@ class Reader(Protocol[T_co]):
883
def read(self, size: int = ..., /) -> T_co:
884
"""Read data from the input stream and return it.
885
886
- If *size* is specified, at most *size* items (bytes/characters) will be
+ If size is specified, at most size items (bytes/characters) will be
887
read.
888
"""
889
@@ -898,7 +898,7 @@ class Writer(Protocol[T_contra]):
898
899
@abc.abstractmethod
900
def write(self, data: T_contra, /) -> int:
901
- """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."""
902
903
904
def _ensure_subclassable(mro_entries):
0 commit comments