Calling document.delete?

I’m trying to write some code as a pre-delete hook on a custom doctype (since no such hook exists that I can see… on_trash is post-delete). I overwrote document.delete in my document:

def delete(self):
    #do stuff
    #do some other stuff	        
super(MyDoc, self).delete()

What I can’t figure out is how this is normally called from the front-end. I’m not presented with a delete button on the action bar when viewing a document via Form, and List View/Report call frappe.delete_doc directly.

Am I missing something obvious?

Its just a shortcut for frappe.delete_doc

If you need a hook, add it - and send a PR