Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove several unused imports in _pyrepl #118668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Lib/_pyrepl/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

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]

Expand Down
2 changes: 0 additions & 2 deletions Lib/_pyrepl/simple_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import code
from types import ModuleType

from .console import Event
from .readline import _get_reader, multiline_input
from .unix_console import _error

Expand Down Expand Up @@ -82,7 +81,6 @@ def showtraceback(self):
def run_multiline_interactive_console(
mainmodule: ModuleType | None= None, future_flags: int = 0
) -> None:
import code
import __main__
from .readline import _setup
_setup()
Expand Down