]> granicus.if.org Git - python/commit
A much revised version of SF patch 514662, by Naofumi Honda. This
authorGuido van Rossum <guido@python.org>
Thu, 4 Apr 2002 23:44:47 +0000 (23:44 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 4 Apr 2002 23:44:47 +0000 (23:44 +0000)
commitc334df5727ad9cb4a5de85f69b03808b9856b55c
tree3611aaf93f7e8ae5eab63149d67fba33029b4092
parenta863270f0403e537f2de6cc665cf172be673ca48
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.
Objects/typeobject.c