#18705: fix a number of typos. Patch by Févry Thibault.
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 @@
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 @@
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 @@
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.
"""