mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove several unused imports in _pyrepl
(#118668)
This commit is contained in:
parent
65f5e586a1
commit
ad3d877a12
2 changed files with 0 additions and 3 deletions
|
@ -23,7 +23,6 @@ from __future__ import annotations
|
|||
|
||||
from contextlib import contextmanager
|
||||
from dataclasses import dataclass, field, fields
|
||||
import re
|
||||
import unicodedata
|
||||
from _colorize import can_colorize, ANSIColors # type: ignore[import-not-found]
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ import sys
|
|||
import code
|
||||
from types import ModuleType
|
||||
|
||||
from .console import Event
|
||||
from .readline import _get_reader, multiline_input
|
||||
from .unix_console import _error
|
||||
|
||||
|
@ -82,7 +81,6 @@ class InteractiveColoredConsole(code.InteractiveConsole):
|
|||
def run_multiline_interactive_console(
|
||||
mainmodule: ModuleType | None= None, future_flags: int = 0
|
||||
) -> None:
|
||||
import code
|
||||
import __main__
|
||||
from .readline import _setup
|
||||
_setup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue