summaryrefslogtreecommitdiff
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-08 21:57:53 +0000
committerGuido van Rossum <guido@python.org>2002-08-08 21:57:53 +0000
commit7bed213224508a5f33ed6d88b48017eea803f499 (patch)
tree11a94b44d5e7ea821eba7ebc82451c12cbffc6dc /Objects/tupleobject.c
parent617e2305ee5d620409aa4679dccc39323a06f7a1 (diff)
downloadcpython-git-7bed213224508a5f33ed6d88b48017eea803f499.tar.gz
Significant speedup in new-style object creation: in slot_tp_new(),
intern the string "__new__" so we can call PyObject_GetAttr() rather than PyObject_GetAttrString(). (Though it's a mystery why slot_tp_new is being called when a class doesn't define __new__. I'll look into that tomorrow.) 2.2 backport candidate (but I won't do it).
Diffstat (limited to 'Objects/tupleobject.c')
0 files changed, 0 insertions, 0 deletions