How to override the frappe/model/document.py?

Hello everyone!!!
Can anybody know how to override the frappe.model.document py ?