summaryrefslogtreecommitdiffstats
path: root/Tools/pybench
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:31:30 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:31:30 (GMT)
commit6d0f0f299b014e79f6079901b560e938e0c5d8df (patch)
treee2f81371eca1a0d0782bb76dcbd5b883edc6b898 /Tools/pybench
parent290c6b3446f5a1ecd76e0213e4db388a37ee9e55 (diff)
downloadcpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.zip
cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.tar.gz
cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.tar.bz2
#18803: fix more typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Tools/pybench')
-rw-r--r--Tools/pybench/CommandLine.py2
-rw-r--r--Tools/pybench/systimes.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tools/pybench/CommandLine.py b/Tools/pybench/CommandLine.py
index 6601be5..fde3178 100644
--- a/Tools/pybench/CommandLine.py
+++ b/Tools/pybench/CommandLine.py
@@ -458,7 +458,7 @@ class Application:
handler = getattr(self, handlername)
except AttributeError:
if value == '':
- # count the number of occurances
+ # count the number of occurrences
if values.has_key(optionname):
values[optionname] = values[optionname] + 1
else:
diff --git a/Tools/pybench/systimes.py b/Tools/pybench/systimes.py
index 013add2..db1210d 100644
--- a/Tools/pybench/systimes.py
+++ b/Tools/pybench/systimes.py
@@ -5,7 +5,7 @@
This module implements various different strategies for measuring
performance timings. It tries to choose the best available method
- based on the platforma and available tools.
+ based on the platform and available tools.
On Windows, it is recommended to have the Mark Hammond win32
package installed. Alternatively, the Thomas Heller ctypes