Simple Traits Questions

Ethan Furman ethan at
Sat Mar 27 14:19:02 CET 2010

Okay, different post for my actual questions.  :)

On the PyPI page for strait ( 
it has the example of choosing which methods to keep in the composed class:

class TOSWidget(BaseWidget):
     __metaclass__ = include(Pack, Place, Grid)
     info =
     config = Pack.config.im_func
     configure = Pack.configure.im_func
     slaves = Pack.slaves.im_func
     forget = Pack.forget.im_func
     propagate = Pack.propagate.im_func

My question is:

Why use

     info =

instead of

     info =


Any and all enlightenment appreciated!


More information about the Python-list mailing list