commit | da9327faf743dbe4810fe10cddf3597c67d8017b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Jan 31 23:43:25 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Jan 31 23:43:25 2009 +0000 |
tree | c0065613b1c7fffe0185fda6f70450ac19c47d6b | |
parent | de1a8b720a8cc5a6dab5e293d322a43d7ecb5c69 [diff] |
add explanatory comment
diff --git a/Python/compile.c b/Python/compile.c index 44ced73..917f9d3 100644 --- a/Python/compile.c +++ b/Python/compile.c
@@ -3769,6 +3769,8 @@ return NULL; while (PyDict_Next(dict, &pos, &k, &v)) { i = PyInt_AS_LONG(v); + /* The keys of the dictionary are tuples. (see compiler_add_o) + The object we want is always first, though. */ k = PyTuple_GET_ITEM(k, 0); Py_INCREF(k); assert((i - offset) < size);