Workaround mypy bug

This commit is contained in:
Kovid Goyal 2022-07-13 20:55:41 +05:30
parent 62c0272df2
commit 06f9b73a7b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -372,6 +372,7 @@ def fork(shm_address: str, free_non_child_resources: Callable[[], None]) -> Tupl
finally:
stdin_data.release()
sys.stdin = sys.__stdin__
return 0, -1 # type: ignore
def verify_socket_creds(conn: socket.socket) -> bool: