diff --git a/stubs/python-xlib/Xlib/display.pyi b/stubs/python-xlib/Xlib/display.pyi index eaf74a6f5..b307a68e5 100644 --- a/stubs/python-xlib/Xlib/display.pyi +++ b/stubs/python-xlib/Xlib/display.pyi @@ -1,6 +1,7 @@ from collections.abc import Callable, Iterable, Sequence +from re import Pattern from types import FunctionType, MethodType -from typing import Any, Pattern, overload +from typing import Any, overload from typing_extensions import Literal, TypeAlias, TypedDict from Xlib import error