We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe3ef2 commit 05eadf5Copy full SHA for 05eadf5
stubs/python-xlib/Xlib/xobject/resource.pyi
@@ -1,13 +1,5 @@
1
-from typing import type_check_only
2
-
3
from Xlib._typing import ErrorHandler
4
-from Xlib.protocol import display
5
6
-# Workaround for pytype crash. Should be Xlib.display._BaseDisplay
7
-@type_check_only
8
-class _BaseDisplay(display.Display):
9
- def __init__(self, display: str | None = ...) -> None: ...
10
- def get_atom(self, atomname: str, only_if_exists: bool = ...) -> int: ...
+from Xlib.display import _BaseDisplay
11
12
class Resource:
13
display: _BaseDisplay
0 commit comments