mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
idlelib: replace 'while 1' with 'while True' (#94827)
This commit is contained in:
parent
967da5febb
commit
6a15f918b5
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