summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-15 16:55:01 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-15 16:55:01 (GMT)
commit24b07bcba350bb86c4d6ca446e1564647a199868 (patch)
tree1815b1c49a6aec401da86b33fa81d06a0c735679 /Tools
parent1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff)
downloadcpython-24b07bcba350bb86c4d6ca446e1564647a199868.zip
cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.gz
cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.bz2
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py2
-rwxr-xr-xTools/pybench/pybench.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index a1f67b8..5679fdb 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -176,7 +176,7 @@ mingw_lib = os.path.join(srcdir, PCBUILD, "libpython%s%s.a" % (major, minor))
have_mingw = build_mingw_lib(lib_file, def_file, dll_file, mingw_lib)
-# Determine the target architechture
+# Determine the target architecture
dll_path = os.path.join(srcdir, PCBUILD, dll_file)
msilib.set_arch_from_file(dll_path)
if msilib.pe_type(dll_path) != msilib.pe_type("msisupport.dll"):
diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py
index 9dee731..76f1468 100755
--- a/Tools/pybench/pybench.py
+++ b/Tools/pybench/pybench.py
@@ -689,7 +689,7 @@ class Benchmark:
other_total_avg_time = other_total_avg_time + other_avg_time
if (benchmarks_compatible and
test.compatible(other)):
- # Both benchmark and tests are comparible
+ # Both benchmark and tests are comparable
min_diff = ((min_time * self.warp) /
(other_min_time * other.warp) - 1.0)
avg_diff = ((avg_time * self.warp) /
@@ -703,7 +703,7 @@ class Benchmark:
else:
avg_diff = '%+5.1f%%' % (avg_diff * PERCENT)
else:
- # Benchmark or tests are not comparible
+ # Benchmark or tests are not comparable
min_diff, avg_diff = 'n/a', 'n/a'
tests_compatible = 0
print '%30s: %5.0fms %5.0fms %7s %5.0fms %5.0fms %7s' % \