Get the class name

Carl Banks pavlovevidence at
Sun Jun 7 22:13:47 EDT 2009

On Jun 7, 1:14 pm, Kless <jonas.... at> 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:

Carl Banks

More information about the Python-list mailing list