From 3e9f03015bf7ca70f7850ad5a3476a18ad29dd4c Mon Sep 17 00:00:00 2001 From: Rune Tynan Date: Mon, 3 Feb 2020 01:07:24 -0500 Subject: [PATCH] Add missing return type to read (#3707) --- stdlib/3/_compression.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/_compression.pyi b/stdlib/3/_compression.pyi index bf474e6b9..99d08212b 100644 --- a/stdlib/3/_compression.pyi +++ b/stdlib/3/_compression.pyi @@ -11,6 +11,6 @@ class DecompressReader(io.RawIOBase): def close(self): ... def seekable(self): ... def readinto(self, b): ... - def read(self, size: int = ...): ... + def read(self, size: int = ...) -> bytes: ... def seek(self, offset, whence=...): ... def tell(self): ...