diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-05-11 14:48:41 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-05-11 14:48:41 +0000 |
commit | 1b0feb4ada9b1ff604f9d3100254f9071a96713f (patch) | |
tree | 937bae85551e5eb1c1583df03af0fe1702df713f /Python/errors.c | |
parent | 6278799f8e34bf01de68f989f5f100913fb5e2f5 (diff) | |
download | cpython-git-1b0feb4ada9b1ff604f9d3100254f9071a96713f.tar.gz |
Variant of SF patch 423181
For rich comparisons, use instance_getattr2() when possible to avoid
the expense of setting an AttributeError. Also intern the name_op[]
table and use the interned strings rather than creating a new string
and interning it each time through.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions