On Fri, Jul 30, 2010 at 10:53 PM, joy99 <subhakolkata1...@gmail.com> wrote:
> class Person(object): > def _init_(self,name,age): > self.name=name > self.age=age > > constructor has double underscores (both as prefix and suffix) __init__ -- Regards Shashank Singh Senior Undergraduate, Department of Computer Science and Engineering Indian Institute of Technology Bombay shashank.sunny.si...@gmail.com http://www.cse.iitb.ac.in/~shashanksingh
-- http://mail.python.org/mailman/listinfo/python-list