[Boost-bugs] [Boost C++ Libraries] #1890: Missing parameters in example code

Subject: [Boost-bugs] [Boost C++ Libraries] #1890: Missing parameters in example code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-02 22:33:45


#1890: Missing parameters in example code
----------------------------+-----------------------------------------------
 Reporter: dima_at_[hidden] | Owner: matias
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: Documentation
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
----------------------------+-----------------------------------------------
 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);

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1890>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC