Update of /cvsroot/boost/boost/libs/python/doc/v2
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12098/v2
Modified Files:
exec.html reference.html
Log Message:
Enhance documentation for embedding python.
Index: exec.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/doc/v2/exec.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- exec.html 11 Sep 2006 22:08:18 -0000 1.3
+++ exec.html 18 May 2007 15:22:43 -0000 1.4
@@ -38,6 +38,7 @@
<dd>
<dl class="page-index">
+ <dt><a href="#eval-spec"><code>eval</code></a></dt>
<dt><a href="#exec-spec"><code>exec</code></a></dt>
<dt><a href="#exec_file-spec"><code>exec_file</code></a></dt>
</dl>
@@ -52,6 +53,23 @@
<h2><a name="functions"></a>Functions</h2>
+ <h3><a name="eval-spec"></a><code>eval</code></h3>
+ <pre>
+object eval(str expression,
+ object globals = object(),
+ object locals = object());
+ </pre>
+ <dl class="function-semantics">
+ <dt><b>Effects:</b>
+ Evaluate Python expression from <code>expression</code> in the context
+ specified by the dictionaries <code>globals</code> and
<code>locals</code>.
+ </dt>
+ <dt><b>Returns:</b>
+ An instance of <a href="object.html#object-spec">object</a>
+ which holds the value of the expression.
+ </dt>
+ </dl>
+
<h3><a name="exec-spec"></a><code>exec</code></h3>
<pre>
object exec(str code,
Index: reference.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/doc/v2/reference.html,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- reference.html 26 Sep 2006 00:25:06 -0000 1.40
+++ reference.html 18 May 2007 15:22:43 -0000 1.41
@@ -977,6 +977,7 @@
<dd>
<dl class="index">
+ <dt><a href="exec.html#eval-spec">eval</a></dt>
<dt><a href="exec.html#exec-spec">exec</a></dt>
<dt><a href="exec.html#exec_file-spec">exec_file</a></dt>
</dl>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs