[Python-checkins] cpython: fix spelling
benjamin.peterson
python-checkins at python.org
Thu Sep 8 14:08:41 EDT 2016
https://hg.python.org/cpython/rev/7eda9b57531d
changeset: 103328:7eda9b57531d
parent: 103326:e0922837e2d7
user: Benjamin Peterson <benjamin at python.org>
date: Thu Sep 08 11:08:30 2016 -0700
summary:
fix spelling
files:
Objects/odictobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -39,7 +39,7 @@
__getitem__(), get(), etc. accordingly.
The approach with the least performance impact (time and space) is #2,
-mirroring the key order of dict's dk_enties with an array of node pointers.
+mirroring the key order of dict's dk_entries with an array of node pointers.
While lookdict() and friends (dk_lookup) don't give us the index into the
array, we make use of pointer arithmetic to get that index. An alternative
would be to refactor lookdict() to provide the index, explicitly exposing
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list