Skip to content

Commit

Permalink
bpo-39493: Fix definition of IO.closed in typing.py (GH-18265)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e6569b)

Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
  • Loading branch information
miss-islington and hauntsaninja committed Jan 30, 2020
1 parent 696d232 commit 58076df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Lib/typing.py
Expand Up @@ -1848,6 +1848,7 @@ def name(self) -> str:
def close(self) -> None:
pass

@property
@abstractmethod
def closed(self) -> bool:
pass
Expand Down
@@ -0,0 +1 @@
Mark ``typing.IO.closed`` as a property

0 comments on commit 58076df

Please sign in to comment.