On Jun 7, 1:14 pm, Kless <jonas....@googlemail.com> wrote: > Is there any way of to get the class name to avoid to have that write > it? > > --------------- > class Foo: > super(Foo, self) > --------------- > > * Using Py 2.6.2
If you are using emacs you can use the put the following elisp code in your .emacs file, defines a command to automatically insert the a super call with the class and method name filled in: http://code.activestate.com/recipes/522990/ Carl Banks -- http://mail.python.org/mailman/listinfo/python-list