diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 12:43:51 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 12:43:51 (GMT) |
commit | f5469cff1f90381819291bcddcc70f5aaf2da141 (patch) | |
tree | f61191eac7db34346674d3b5dca6cfc334dcca99 /Lib/platform.py | |
parent | 10b513098af5323bc2e9dee4775531eb63c1f0ab (diff) | |
download | cpython-f5469cff1f90381819291bcddcc70f5aaf2da141.zip cpython-f5469cff1f90381819291bcddcc70f5aaf2da141.tar.gz cpython-f5469cff1f90381819291bcddcc70f5aaf2da141.tar.bz2 |
#18705: fix a number of typos. Patch by Févry Thibault.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index c0016a8..b6dab3b 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -228,7 +228,7 @@ def _dist_try_harder(distname,version,id): return 'OpenLinux',pkg[1],id if os.path.isdir('/usr/lib/setup'): - # Check for slackware verson tag file (thanks to Greg Andruk) + # Check for slackware version tag file (thanks to Greg Andruk) verfiles = os.listdir('/usr/lib/setup') for n in range(len(verfiles)-1, -1, -1): if verfiles[n][:14] != 'slack-version-': @@ -280,7 +280,7 @@ def _parse_release_file(firstline): if m is not None: return tuple(m.groups()) - # Unkown format... take the first two words + # Unknown format... take the first two words l = string.split(string.strip(firstline)) if l: version = l[0] @@ -800,7 +800,7 @@ def mac_ver(release='',versioninfo=('','',''),machine=''): versioninfo, machine) with versioninfo being a tuple (version, dev_stage, non_release_version). - Entries which cannot be determined are set to the paramter values + Entries which cannot be determined are set to the parameter values which default to ''. All tuple entries are strings. """ |