Skip to content

Commit a736986

Browse files
authored
Missing imports in Xlib.XK
`keysym_to_string` compares against non-imported symbols
1 parent 333fbcb commit a736986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Xlib/XK.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
# definition modules in the Xlib/keysymdef directory.
2525

2626
from Xlib.X import NoSymbol
27+
from Xlib.keysymdef.miscellany import XK_BackSpace, XK_Clear, XK_Delete, XK_Escape, XK_Pause, XK_Return, XK_Scroll_Lock, XK_Tab
2728

2829
def string_to_keysym(keysym):
2930
'''Return the (16 bit) numeric code of keysym.

0 commit comments

Comments
 (0)