summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-11-01 01:39:08 +0000
committerTim Peters <tim.peters@gmail.com>2004-11-01 01:39:08 +0000
commite2d591847c2a2b3f02d9b7bb4242cd92d9297ec9 (patch)
treeda82b3e2338d758ca852f3d3a15d8a2d5a7634a1 /Python/modsupport.c
parentcc2a866cb7439788b9083969b0f79b8483f3e071 (diff)
downloadcpython-git-e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9.tar.gz
gc list function cleanup.
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.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions