]> granicus.if.org Git - python/commit
Big internal change that should have no external effects: unify the
authorGuido van Rossum <guido@python.org>
Sun, 21 Oct 2001 00:44:31 +0000 (00:44 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 21 Oct 2001 00:44:31 +0000 (00:44 +0000)
commit6d204074cbd72bc671d1bdbb0d462ef3f0e49910
treee0567deaf95b61c83fd6ffa868dd8854a74bd4dc
parent971e78b55b445a0e2598efb5c138401c2361a67d
Big internal change that should have no external effects: unify the
'slotdef' structure typedef and 'struct wrapperbase'.  By adding the
wrapper docstrings to the slotdef structure, the slotdefs array can
serve as the data structure that drives add_operators(); the wrapper
descriptor contains a pointer to slotdef structure.  This replaces
lots of custom code from add_operators() by a loop over the slotdefs
array, and does away with all the tab_xxx tables.
Include/descrobject.h
Objects/typeobject.c