bpo-39493: Fix definition of IO.closed in typing.py (#18265)
This commit is contained in:
parent
d47d0c8e9f
commit
2e6569b669
|
@ -1831,6 +1831,7 @@ class IO(Generic[AnyStr]):
|
|||
def close(self) -> None:
|
||||
pass
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def closed(self) -> bool:
|
||||
pass
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Mark ``typing.IO.closed`` as a property
|
Loading…
Reference in New Issue