Correct the type signature for callback

This commit is contained in:
Kovid Goyal
2023-05-08 16:03:27 +05:30
parent 23d7494e3a
commit 71189aee9f

View File

@@ -429,7 +429,7 @@ class Child:
return environ_of_process(pid)
return {}
def send_signal_for_key(self, key_num: int) -> bool:
def send_signal_for_key(self, key_num: bytes) -> bool:
import signal
import termios
if self.child_fd is None: