[C++-sig] Documentation bug

Daniel James daniel_james at fmail.co.uk
Wed Aug 5 20:47:58 CEST 2009


Hi,

Trac ticket 1890, 'Missing parameters in example code' looks like a
pretty trivial fix, if someone can confirm that it's correct, I'll
make the change if no one else can.

https://svn.boost.org/trac/boost/ticket/1890

> On the page:
>
> http://www.boost.org/doc/libs/1_35_0/libs/python/doc/tutorial/doc/html/python/embedding.html
>
> object ignored = exec("hello = file('hello.txt', 'w')\n"
>
>     "hello.write('Hello world!')\n"
>         "hello.close()", main_namespace);
>
> should be:
>
> object ignored = exec("hello = file('hello.txt', 'w')\n"
>
>     "hello.write('Hello world!')\n"
>         "hello.close()", main_namespace, main_namespace);

thanks,

Daniel


More information about the Cplusplus-sig mailing list