Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-23 18:51:22


on Mon Jul 23 2007, zao-AT-acc.umu.se (Lars Viklund) wrote:

> On Mon, Jul 23, 2007 at 03:29:40PM +0200, Philippe Vaucher wrote:
>> // Define greet function in Python.
>> object result = exec(
>> "def greet(self): \n"
>> " return 'Hello from Python!' \n",
>> global, global);
>
> 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.

Please create one, then.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk