From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2007-07-24 03:54:29
> This is a doc bug, greet(self) should be greet(), since it's a regular
> function, not a method in a class.
> I'm fairly sure that this has been reported, but I can't find any ticket
> for it.
> If you had caught the exception in python, it would have been something
> along the lines of:
> TypeError: greet() takes exactly 1 argument (0 given)
You are right, removing "self" makes my code work like a charm :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk