summaryrefslogtreecommitdiffstats
path: root/Modules/operator.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-06-25 07:59:34 (GMT)
committerLarry Hastings <larry@hastings.org>2012-06-25 07:59:34 (GMT)
commit48986d68c2bc6da075fed2cb9f8426afc7c6a622 (patch)
tree32f3de3415c28a43d199ae44f379a4960795b2fe /Modules/operator.c
parent4d399a40920fe34fb9ef27181de739f771071ec2 (diff)
downloadcpython-48986d68c2bc6da075fed2cb9f8426afc7c6a622.zip
cpython-48986d68c2bc6da075fed2cb9f8426afc7c6a622.tar.gz
cpython-48986d68c2bc6da075fed2cb9f8426afc7c6a622.tar.bz2
Minor grammar refinement for hmac.compare_digest().
Diffstat (limited to 'Modules/operator.c')
-rw-r--r--Modules/operator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/operator.c b/Modules/operator.c
index 5adb4de..12fdad5 100644
--- a/Modules/operator.c
+++ b/Modules/operator.c
@@ -217,8 +217,8 @@ PyDoc_STRVAR(compare_digest__doc__,
"or any type that supports the buffer protocol (e.g. bytes).\n"
"\n"
"Note: If a and b are of different lengths, or if an error occurs,\n"
-"a timing attack may be able to reveal information about the types\n"
-"and lengths of a and b, but not their values.\n");
+"a timing attack could theoretically reveal information about the\n"
+"types and lengths of a and b--but not their values.\n");
static PyObject*
compare_digest(PyObject *self, PyObject *args)