Alexander Belopolsky <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue9117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com