]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111201: Improve pyrepl auto indentation (#119606)
authorArnon Yaari <wiggin15@yahoo.com>
Fri, 31 May 2024 09:02:54 +0000 (12:02 +0300)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 09:02:54 +0000 (11:02 +0200)
commitdae0375bd97f3821c5db1602a0653a3c5dc53c5b
treeb2725a7e2a82ffbd9bfb0a5c164db99a11b4faf8
parent94e9585e99abc2d060cedc77b3c03e06b4a0a9c4
gh-111201: Improve pyrepl auto indentation (#119606)

- auto-indent when editing multi-line block
- ignore comments
Lib/_pyrepl/readline.py
Lib/test/test_pyrepl/test_pyrepl.py
Lib/test/test_pyrepl/test_reader.py