summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-24 16:47:00 +0000
committerGuido van Rossum <guido@python.org>2001-08-24 16:47:00 +0000
commitfa2ed176bb60ddff47994e7f4ce6e6f91b9d707b (patch)
tree673bd12beb709fe4253478aaf7b2a5b1d2752fe2 /Python/errors.c
parentc6a86f80d444a446083b3f961c71d99baaf7c86e (diff)
downloadcpython-fa2ed176bb60ddff47994e7f4ce6e6f91b9d707b.tar.gz
Add 'super', another new object type with magical properties.
super(type) -> unbound super object super(type, obj) -> bound super object; requires isinstance(obj, type) Typical use to call a cooperative superclass method: class C(B): def meth(self, arg): super(C, self).meth(arg);
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions