mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
idlelib: replace 'while 1' with 'while True' (GH-94827)
(cherry picked from commit 6a15f918b5
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
0a51204cd0
commit
29fc20cdc0
6 changed files with 8 additions and 8 deletions
|
@ -145,7 +145,7 @@ def main(del_exitfunc=False):
|
|||
args=((LOCALHOST, port),))
|
||||
sockthread.daemon = True
|
||||
sockthread.start()
|
||||
while 1:
|
||||
while True:
|
||||
try:
|
||||
if exit_now:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue