tidied and sorted imports

removed ones not required as well, groups and spaced.
This commit is contained in:
Mark Mayo 2022-12-10 10:51:56 +13:00
parent cb0bcfd67f
commit cd00569d64
18 changed files with 4 additions and 24 deletions

View file

@ -6,12 +6,10 @@ import sys
from typing import Callable
from typing import Generator
if sys.platform == 'win32': # pragma: no cover (windows)
import msvcrt
# https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/locking
# on windows we lock "regions" of files, we don't care about the actual
# byte region so we'll just pick *some* number here.
_region = 0xffff