mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-123149: Suppress verbose repr in new REPL (#123151)
This commit is contained in:
parent
48856ead6a
commit
833c58b81e
1 changed files with 2 additions and 2 deletions
|
@ -342,10 +342,10 @@ class backspace_dedent(commands.Command):
|
|||
class _ReadlineWrapper:
|
||||
f_in: int = -1
|
||||
f_out: int = -1
|
||||
reader: ReadlineAlikeReader | None = None
|
||||
reader: ReadlineAlikeReader | None = field(default=None, repr=False)
|
||||
saved_history_length: int = -1
|
||||
startup_hook: Callback | None = None
|
||||
config: ReadlineConfig = field(default_factory=ReadlineConfig)
|
||||
config: ReadlineConfig = field(default_factory=ReadlineConfig, repr=False)
|
||||
|
||||
def __post_init__(self) -> None:
|
||||
if self.f_in == -1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue