mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix while statements with non-bool conditions in _pyrepl
(#127509)
Fix non-bool value conditions
This commit is contained in:
parent
bb9d955e16
commit
a327810169
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ def run_multiline_interactive_console(
|
|||
|
||||
return False
|
||||
|
||||
while 1:
|
||||
while True:
|
||||
try:
|
||||
try:
|
||||
sys.stdout.flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue