]> git.notmuchmail.org Git - notmuch/commit
Add Database.create_query() as a shorthand for db=Database();q=Query(db,"")
authorSebastian Spaeth <sebastian@sspaeth.de>
Fri, 19 Mar 2010 09:55:06 +0000 (10:55 +0100)
committerSebastian Spaeth <sebastian@sspaeth.de>
Fri, 19 Mar 2010 09:55:06 +0000 (10:55 +0100)
commit0b57cb8ed9850d1315a60ff23113e343b531170e
tree1cc00867e647993e772deb5e7ed2031886a70e79
parentc90c28ded713936080b9862d4bc8502bc47da83a
Add Database.create_query() as a shorthand for db=Database();q=Query(db,"")

This is a convenience extension to the C API. I hardly saves any typing, but
let's us automatically free the top-level Database() object when we delete
the Query().
cnotmuch/database.py
docs/source/index.rst