diff Python/compile.c @ 51221:bc92d83e5508 legacy-trunk

add explanatory comment
author Benjamin Peterson <benjamin@python.org>
date Sat, 31 Jan 2009 23:43:25 +0000
parents e158c70511fe
children 8672b0f6575d
line wrap: on
line diff
--- a/Python/compile.c	Sat Jan 31 22:57:30 2009 +0000
+++ b/Python/compile.c	Sat Jan 31 23:43:25 2009 +0000
@@ -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);