summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-11 18:33:53 +0000
committerGuido van Rossum <guido@python.org>2001-10-11 18:33:53 +0000
commit875eeaa193fd8e02d1a8b6d0d6f2768b55b0fff3 (patch)
tree815425f24c991e003a07ccd91df013ce11f2c645 /Python
parent9e4ca10ce439845c939a9fa4264146a4cfa87fee (diff)
downloadcpython-git-875eeaa193fd8e02d1a8b6d0d6f2768b55b0fff3.tar.gz
Another step in the right direction: when a new class's attribute
corresponding to a dispatch slot (e.g. __getitem__ or __add__) is set, calculate the proper dispatch slot and propagate the change to all subclasses. Because of multiple inheritance, there's no easy way to avoid always recursing down the tree of subclasses. Who cares? (There's more to do, but this works. There's also a test for this now.)
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions