On Tue, Apr 23, 2013 at 3:50 PM, vasudevram <vasudev...@gmail.com> wrote: > > Hi list, > > I saw an example of defining a class within another class, here, in the docs > for peewee, a simple ORM for Python: > > http://peewee.readthedocs.org/en/latest/peewee/quickstart.html > > In what way is this useful?
In that particular case they're just using it as a namespace. Django does the same thing. -- http://mail.python.org/mailman/listinfo/python-list