Change occurrences of auxiliary_date to just aux_date
This commit is contained in:
parent
656e46e182
commit
52bca153dd
3 changed files with 4 additions and 4 deletions
|
|
@ -406,7 +406,7 @@ expr_t::ptr_op_t item_t::lookup(const symbol_t::kind_t kind,
|
|||
return WRAP_FUNCTOR(get_wrapper<&get_primary_date>);
|
||||
else if (name == "addr")
|
||||
return WRAP_FUNCTOR(get_wrapper<&get_addr>);
|
||||
else if (name == "auxiliary_date")
|
||||
else if (name == "aux_date")
|
||||
return WRAP_FUNCTOR(get_wrapper<&get_aux_date>);
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -149,12 +149,12 @@ void export_item()
|
|||
.def("parse_tags", &item_t::parse_tags)
|
||||
.def("append_note", &item_t::append_note)
|
||||
|
||||
.add_static_property("use_auxiliary_date",
|
||||
.add_static_property("use_aux_date",
|
||||
make_getter(&item_t::use_aux_date),
|
||||
make_setter(&item_t::use_aux_date))
|
||||
|
||||
.add_property("date", &item_t::date, make_setter(&item_t::_date))
|
||||
.add_property("auxiliary_date", &item_t::aux_date,
|
||||
.add_property("aux_date", &item_t::aux_date,
|
||||
make_setter(&item_t::_date_aux))
|
||||
|
||||
.add_property("state", &item_t::state, &item_t::set_state)
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ void export_post()
|
|||
.def("get_tag", py_get_tag_2m)
|
||||
|
||||
.def("date", &post_t::date)
|
||||
.def("auxiliary_date", &post_t::aux_date)
|
||||
.def("aux_date", &post_t::aux_date)
|
||||
|
||||
.def("must_balance", &post_t::must_balance)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue