Mypy fixes.

This commit is contained in:
poljar (Damir Jelić) 2018-02-12 10:56:28 +01:00
parent 7ab59ec636
commit b22deceb00
5 changed files with 13 additions and 12 deletions

View file

@ -115,7 +115,7 @@ WEECHAT_SCRIPT_LICENSE = "ISC" # type: str
def wrap_socket(server, file_descriptor):
# type: (MatrixServer, int) -> socket.socket
# type: (MatrixServer, int) -> None
sock = None # type: socket.socket
temp_socket = socket.fromfd(