[EMAIL PROTECTED] wrote: > class Point(object): > def _init_(self, x, y):
The name of the __init__ method needs *two* underscores at each end, i.e. def __init__(self, x, y): -- Greg -- http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote: > class Point(object): > def _init_(self, x, y):
The name of the __init__ method needs *two* underscores at each end, i.e. def __init__(self, x, y): -- Greg -- http://mail.python.org/mailman/listinfo/python-list