commit | c334df5727ad9cb4a5de85f69b03808b9856b55c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 04 23:44:47 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 04 23:44:47 2002 +0000 |
tree | 3611aaf93f7e8ae5eab63149d67fba33029b4092 | |
parent | a863270f0403e537f2de6cc665cf172be673ca48 [diff] |
A much revised version of SF patch 514662, by Naofumi Honda. This speeds up __getitem__ and __setitem__ in subclasses of built-in sequences. It's much revised because I took the opportunity to refactor the code somewhat (moving a large section of duplicated code to a helper function) and added comments to a series of functions.