Skip to content

Commit 8f68b6c

Browse files
Ruff compatibility: fix import order.
1 parent 95afc93 commit 8f68b6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: ptpython/eventloop.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ def _inputhook_tk(inputhook_context: InputHookContext) -> None:
2424
Run the Tk eventloop until prompt-toolkit needs to process the next input.
2525
"""
2626
# Get the current TK application.
27-
import tkinter
28-
2927
import _tkinter # Keep this imports inline!
28+
import tkinter
3029

3130
root = tkinter._default_root # type: ignore
3231

0 commit comments

Comments
 (0)