• Tim Peters's avatar
    gc list function cleanup. · e2d59184
    Tim Peters authored
    Introduced gc_list_move(), which captures the common gc_list_remove() +
    gc_list_append() sequence.  In fact, no uses of gc_list_append() remained
    (they were all in a gc_list_move() sequence), so commented that one out.
    
    gc_list_merge():  assert that `from` != `to`; that was an implicit
    precondition, now verified in a debug build.
    
    Others:  added comments about their purpose.
    e2d59184
gcmodule.c 37.8 KB