summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
commit30b9d5d3af043fc2687ad11a188a34fe355e20ef (patch)
tree6e86b6b605397d826721779611ebd06d028acfc1 /Lib/platform.py
parent67f39777fa2c14f0e632adda8c5945cec569b46e (diff)
downloadcpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.zip
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.gz
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.bz2
#18705: fix a number of typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index 2b8a24a..d5ebf25 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -230,7 +230,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-':
@@ -282,7 +282,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 = firstline.strip().split()
if l:
version = l[0]
@@ -720,7 +720,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.
"""