commit | 6d204074cbd72bc671d1bdbb0d462ef3f0e49910 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Oct 21 00:44:31 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Oct 21 00:44:31 2001 +0000 |
tree | e0567deaf95b61c83fd6ffa868dd8854a74bd4dc | |
parent | 971e78b55b445a0e2598efb5c138401c2361a67d [diff] |
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.