Skip to content

Commit a6fb266

Browse files
committed
Move import to top of file
1 parent cbe7707 commit a6fb266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/windows_console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import io
2323
import os
2424
import sys
25+
import time
2526

2627
import ctypes
2728
import types
@@ -448,7 +449,6 @@ def get_event(self, block: bool = True) -> Event | None:
448449
while self.event_queue.empty():
449450
# Check if we have a pending escape sequence that needs timeout handling
450451
if self.event_queue.has_pending_escape_sequence():
451-
import time
452452
current_time_ms = time.monotonic() * 1000
453453

454454
if self.event_queue.should_emit_standalone_escape(current_time_ms):

0 commit comments

Comments
 (0)