# Bug report ### Bug description: Currently, the REPL auto indentation is like this: <img width="569" alt="image" src="https://github.com/user-attachments/assets/ee4fde4a-2bd7-4102-a67a-7b3c3753ad1b"> The correct one should be: <img width="570" alt="image" src="https://github.com/user-attachments/assets/031e1218-08df-4d46-ba73-31c99da207cd"> I am working on a PR to fix this. ### CPython versions tested on: CPython main branch ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-122238 * gh-122383 <!-- /gh-linked-prs -->