bpo-29304: simplify lookdict_index() function. (GH-2273)

1 file changed