Skip to content

Commit 7732a6f

Browse files
committed
py37 compat
1 parent 2609fa3 commit 7732a6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/asyncio/unix_events.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ if sys.platform != "win32":
6060
class BaseChildWatcher(AbstractChildWatcher, metaclass=ABCMeta):
6161
def __init__(self) -> None: ...
6262
def close(self) -> None: ...
63-
def is_active(self) -> bool: ...
63+
if sys.version_info >= (3, 8):
64+
def is_active(self) -> bool: ...
65+
6466
def attach_loop(self, loop: AbstractEventLoop | None) -> None: ...
6567

6668
class SafeChildWatcher(BaseChildWatcher):

0 commit comments

Comments
 (0)