Commits

Maciej Fijalkowski committed d0b8d07

fix the nonsense on trunk as well

  • Participants
  • Parent commits ea1d8b0

Comments (0)

Files changed (1)

File pypy/rpython/lltypesystem/rdict.py

     ENTRY = ENTRIES.OF
     entry = d.entries[i]
     if ENTRIES.must_clear_key:
-        key = entry.key   # careful about destructor side effects:
-                          # keep key alive until entry.value has also
-                          # been zeroed (if it must be)
         entry.key = lltype.nullptr(ENTRY.key.TO)
     if ENTRIES.must_clear_value:
         entry.value = lltype.nullptr(ENTRY.value.TO)