Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

> I believe that *args and **kwargs are now also syntactically
> accepted in a class definition.

Indeed:

>>> class a: pass
>>> class b: pass
>>> bases = (a, b)
>>> class c(*bases): pass
>>> kwds = {'metaclass':type}
>>> class c(*bases, **kwds): pass

works!

----------
nosy: +belopolsky

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to