r69157 - python/trunk/Python/compile.c

Jan. 31, 2009
6:43 p.m.
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);
5866
Age (days ago)
5866
Last active (days ago)
0 comments
1 participants
participants (1)
-
benjamin.peterson