Skip to content

Commit 56bb7aa

Browse files
committed
Satisfy ruff
1 parent dad6e79 commit 56bb7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typing_extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ class Reader(Protocol[T_co]):
883883
def read(self, size: int = ..., /) -> T_co:
884884
"""Read data from the input stream and return it.
885885
886-
If *size* is specified, at most *size* items (bytes/characters) will be
886+
If size is specified, at most size items (bytes/characters) will be
887887
read.
888888
"""
889889

@@ -898,7 +898,7 @@ class Writer(Protocol[T_contra]):
898898

899899
@abc.abstractmethod
900900
def write(self, data: T_contra, /) -> int:
901-
"""Write *data* to the output stream and return the number of items written."""
901+
"""Write data to the output stream and return the number of items written."""
902902

903903

904904
def _ensure_subclassable(mro_entries):

0 commit comments

Comments
 (0)