mirror of
https://github.com/python/cpython.git
synced 2026-05-10 22:50:18 -04:00
gh-94713 - Replacing while 1 with while True (#94714)
This commit is contained in:
+1
-1
@@ -561,7 +561,7 @@ def _platform(*args):
|
||||
platform = platform.replace('unknown', '')
|
||||
|
||||
# Fold '--'s and remove trailing '-'
|
||||
while 1:
|
||||
while True:
|
||||
cleaned = platform.replace('--', '-')
|
||||
if cleaned == platform:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user