summaryrefslogtreecommitdiff
path: root/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'journal.cc')
-rw-r--r--journal.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/journal.cc b/journal.cc
index 4fedc206..4b0b063a 100644
--- a/journal.cc
+++ b/journal.cc
@@ -631,12 +631,7 @@ void export_journal()
.def_readonly("sources", &journal_t::sources)
.def("__len__", entries_len)
-#if 0
.def("__getitem__", entries_getitem, return_internal_reference<1>())
-#else
- .def("__getitem__", entries_getitem,
- return_value_policy<reference_existing_object>())
-#endif
.def("add_account", &journal_t::add_account)
.def("remove_account", &journal_t::remove_account)
.def("find_account", py_find_account_1, return_internal_reference<1>())