| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7fbb5c7 commit a72f025
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3769,6 +3769,8 @@ dict_keys_inorder(PyObject *dict, int offset) | |||
| 3769 | 3769 | return NULL; | |
| 3770 | 3770 | while (PyDict_Next(dict, &pos, &k, &v)) { | |
| 3771 | 3771 | i = PyInt_AS_LONG(v); | |
| 3772 | + /* The keys of the dictionary are tuples. (see compiler_add_o) | ||
| 3773 | + The object we want is always first, though. */ | ||
| 3772 | 3774 | k = PyTuple_GET_ITEM(k, 0); | |
| 3773 | 3775 | Py_INCREF(k); | |
| 3774 | 3776 | assert((i - offset) < size); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments