summaryrefslogtreecommitdiff
path: root/python/pyinterp.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-23 01:57:37 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-23 01:57:37 -0400
commitf0d13734b40d4c671a20340deeb9b2c5faa09037 (patch)
tree25c26480aa29da429f4e2d30894815a832473fc0 /python/pyinterp.h
parent6df9debc6fba78987dd476f7f232df096f4b44af (diff)
downloadfork-ledger-f0d13734b40d4c671a20340deeb9b2c5faa09037.tar.gz
fork-ledger-f0d13734b40d4c671a20340deeb9b2c5faa09037.tar.bz2
fork-ledger-f0d13734b40d4c671a20340deeb9b2c5faa09037.zip
Look up definitions in the Python evaluator directly, not with eval.
Diffstat (limited to 'python/pyinterp.h')
-rw-r--r--python/pyinterp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyinterp.h b/python/pyinterp.h
index 60aa9c20..a38cd565 100644
--- a/python/pyinterp.h
+++ b/python/pyinterp.h
@@ -43,7 +43,7 @@ namespace ledger {
class python_interpreter_t : public session_t
{
public:
- boost::python::object main_nspace;
+ boost::python::dict main_nspace;
python_interpreter_t();