Just playin around class
def func(*args, **kwargs):
print args, kwargs
class Klass(func): pass
it throws error
TypeError: Error when calling the metaclass bases function() argument 1 must be code, not str
What does it mean, i am passing no str nowhere? and yes I should be passing class in bases but why didn't error say that, instead of this cryptic error?