Skip to content

Commit db27aee

Browse files
authored
gh-131152: Remove unused imports in _pyrepl and ctypes (#131150)
1 parent 14aed5e commit db27aee

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

Lib/_pyrepl/simple_interact.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333

3434
from .readline import _get_reader, multiline_input
3535

36-
TYPE_CHECKING = False
37-
38-
if TYPE_CHECKING:
39-
from typing import Any
40-
4136

4237
_error: tuple[type[Exception], ...] | type[Exception]
4338
try:

Lib/_pyrepl/windows_console.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import time
2626
import msvcrt
2727

28-
from collections import deque
2928
import ctypes
3029
from ctypes.wintypes import (
3130
_COORD,

Lib/ctypes/_layout.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
"""
66

77
import sys
8-
import warnings
9-
import struct
108

119
from _ctypes import CField, buffer_info
1210
import ctypes

0 commit comments

Comments
 (0)