summaryrefslogtreecommitdiffstats
path: root/Lib/profile.doc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-10-20 14:01:56 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-10-20 14:01:56 (GMT)
commitf0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc (patch)
tree9a4b5d8c9ea1dbbd4ead4b2990c77a997fb3905b /Lib/profile.doc
parent4b17e3993b7d4ada586e66ad40a73e12e086645e (diff)
downloadcpython-f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc.zip
cpython-f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc.tar.gz
cpython-f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc.tar.bz2
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
Diffstat (limited to 'Lib/profile.doc')
-rw-r--r--Lib/profile.doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/profile.doc b/Lib/profile.doc
index bf5d8e3..8724484 100644
--- a/Lib/profile.doc
+++ b/Lib/profile.doc
@@ -339,7 +339,7 @@ supplied criteria. The argument is typically a string identifying the
basis of a sort (example: "time" or "name").
When more than one key is provided, then additional keys are used as
-secondary criteria when the there is equality in all keys selected
+secondary criteria when there is equality in all keys selected
before them. For example, sort_stats('name', 'file') will sort all
the entries according to their function name, and resolve all ties
(identical function names) by sorting by file name.
@@ -464,7 +464,7 @@ The second limitation has to do with accuracy of timing information.
There is a fundamental problem with deterministic profilers involving
accuracy. The most obvious restriction is that the underlying "clock"
is only ticking at a rate (typically) of about .001 seconds. Hence no
-measurements will be more accurate that that underlying clock. If
+measurements will be more accurate than that underlying clock. If
enough measurements are taken, then the "error" will tend to average
out. Unfortunately, removing this first error induces a second source
of error...