Skip to content

Commit cceac5d

Browse files
gh-94713 - Replacing while 1 with while True (#94714)
1 parent e39ce7d commit cceac5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/platform.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def _platform(*args):
561561
platform = platform.replace('unknown', '')
562562

563563
# Fold '--'s and remove trailing '-'
564-
while 1:
564+
while True:
565565
cleaned = platform.replace('--', '-')
566566
if cleaned == platform:
567567
break

0 commit comments

Comments
 (0)