Hi All,

I have a small library which supplies a metaclass superfixer, which when
applied to a class, provides every method with a variable __class__, which
refers to the class in which the method is defined.

This avoids the need to refer to the current class name in calls to super.
If there's any interest, it could be extended to provide a no-args form of
super.

All suggestions and enhancements gratefully accepted!

https://github.com/marcintustin/superfixer

-- 
Marcin Tustin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to