+ eval
exec
exec_file
@@ -52,6 +53,23 @@
Functions
+ eval
+
+object eval(str expression,
+ object globals = object(),
+ object locals = object());
+
+
+ - Effects:
+ Evaluate Python expression from
expression
in the context
+ specified by the dictionaries globals
and locals
.
+
+ - Returns:
+ An instance of object
+ which holds the value of the expression.
+
+
+
exec
object exec(str code,
Index: v2/reference.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/doc/v2/reference.html,v
retrieving revision 1.40
diff -u -r1.40 reference.html
--- v2/reference.html 26 Sep 2006 00:25:06 -0000 1.40
+++ v2/reference.html 17 May 2007 14:30:39 -0000
@@ -977,6 +977,7 @@
+ - eval
- exec
- exec_file