typing fixes

This commit is contained in:
Devaev Maxim
2020-10-13 13:50:01 +03:00
parent 51ac65d542
commit c6524fc7ac
8 changed files with 14 additions and 20 deletions

View File

@@ -25,7 +25,6 @@
import sys
import os
import asyncio
import asyncio.queues
import ctypes
import ctypes.util
import struct
@@ -230,7 +229,7 @@ class Inotify:
self.__moved: Dict[int, str] = {}
self.__events_queue: asyncio.queues.Queue = asyncio.Queue()
self.__events_queue: "asyncio.Queue[InotifyEvent]" = asyncio.Queue()
def watch(self, path: str, mask: int) -> None:
path = os.path.normpath(path)