[Python-checkins] r69157 - python/trunk/Python/compile.c

benjamin.peterson python-checkins at python.org
Sun Feb 1 00:43:25 CET 2009


Author: benjamin.peterson
Date: Sun Feb  1 00:43:25 2009
New Revision: 69157

Log:
add explanatory comment

Modified:
   python/trunk/Python/compile.c

Modified: python/trunk/Python/compile.c
==============================================================================
--- python/trunk/Python/compile.c	(original)
+++ python/trunk/Python/compile.c	Sun Feb  1 00:43:25 2009
@@ -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);


More information about the Python-checkins mailing list