summaryrefslogtreecommitdiff
path: root/python/pyinterp.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-23 19:07:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-23 19:07:30 -0400
commit944c63e6f26d1f05ba6f63c60f510d3796872f3e (patch)
treee1fc54319c2c42c16a64e95930acaca063658863 /python/pyinterp.cc
parent057506ab6dddbfb75d1bb29289602f375ca57df5 (diff)
downloadfork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.gz
fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.bz2
fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.zip
The Great Renaming, Part II
The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
Diffstat (limited to 'python/pyinterp.cc')
-rw-r--r--python/pyinterp.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/pyinterp.cc b/python/pyinterp.cc
index cc6a5688..cd877f80 100644
--- a/python/pyinterp.cc
+++ b/python/pyinterp.cc
@@ -39,7 +39,7 @@ shared_ptr<python_interpreter_t> python_session;
void export_chain();
void export_commodity();
-void export_entry();
+void export_xact();
void export_expr();
void export_flags();
void export_format();
@@ -53,13 +53,13 @@ void export_timelog();
void export_times();
void export_utils();
void export_value();
-void export_xact();
+void export_post();
void initialize_for_python()
{
export_chain();
export_commodity();
- export_entry();
+ export_xact();
export_expr();
export_flags();
export_format();
@@ -73,7 +73,7 @@ void initialize_for_python()
export_times();
export_utils();
export_value();
- export_xact();
+ export_post();
}
struct python_run
@@ -132,7 +132,7 @@ object python_interpreter_t::import(const string& str)
if (! mod)
throw_(std::logic_error, "Failed to import Python module " << str);
- // Import all top-level entries directly into the main namespace
+ // Import all top-level xacts directly into the main namespace
main_nspace.update(mod.attr("__dict__"));
TRACE_FINISH(python_import, 1);