harryos wrote: > hi > i have seen some class definitions like > > class MyClass(object): > def __init__(self): > .... > > what does the object keyword inside the braces in MyClass() mean? > Has it got any significance?
It indicates a so-called new-style-class. The new style classes have been available since python2.2: http://docs.python.org/ref/node33.html Diez -- http://mail.python.org/mailman/listinfo/python-list