Skip to content

Commit

Permalink
gh-94713 - Replacing while 1 with while True (#94714)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nougat-Waffle authored Jul 13, 2022
1 parent e39ce7d commit cceac5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cceac5d

Please sign in to comment.