From: Benjamin Peterson Date: Thu, 8 Sep 2016 18:08:30 +0000 (-0700) Subject: fix spelling X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee178e6d6ebcf28da8696c853cc9de5e3c0f15b4;p=python fix spelling --- diff --git a/Objects/odictobject.c b/Objects/odictobject.c index fe47098b62..4a4cd1e048 100644 --- a/Objects/odictobject.c +++ b/Objects/odictobject.c @@ -39,7 +39,7 @@ we've considered: __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