FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-94713 - Replacing while 1 with while True (#94714) · python/cpython@cceac5d · GitHub

Repository navigation

Commit cceac5d

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/platform.py‎

Lines changed: 1 addition & 1 deletion
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)

Back | FazBrowse Home | New Git URL