mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +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
|
@ -1301,7 +1301,7 @@ class EditorWindow:
|
|||
want = ((have - 1) // self.indentwidth) * self.indentwidth
|
||||
# Debug prompt is multilined....
|
||||
ncharsdeleted = 0
|
||||
while 1:
|
||||
while True:
|
||||
chars = chars[:-1]
|
||||
ncharsdeleted = ncharsdeleted + 1
|
||||
have = len(chars.expandtabs(tabwidth))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue