Fix while statements with non-bool conditions in _pyrepl (#127509)

Fix non-bool value conditions
This commit is contained in:
RUANG (James Roy) 2025-01-02 04:39:28 +08:00 committed by GitHub
parent bb9d955e16
commit a327810169
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ def run_multiline_interactive_console(
return False
while 1:
while True:
try:
try:
sys.stdout.flush()