commit | 58076df0c59677111dc77b72852cb2a313a2ef91 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Jan 29 21:42:38 2020 -0800 |
committer | GitHub <noreply@github.com> | Wed Jan 29 21:42:38 2020 -0800 |
tree | 5f90a80bfc6fcaad23764ca781fd18de7e1e54f4 | |
parent | 696d2324cf2a54e20e8d6a6739fa97ba815a8be9 [diff] [blame] |
bpo-39493: Fix definition of IO.closed in typing.py (GH-18265) (cherry picked from commit 2e6569b6692298fcc9aae0df3eb3181adb2a5099) Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
diff --git a/Lib/typing.py b/Lib/typing.py index 69f6d98..83d310f 100644 --- a/Lib/typing.py +++ b/Lib/typing.py
@@ -1848,6 +1848,7 @@ def close(self) -> None: pass + @property @abstractmethod def closed(self) -> bool: pass