Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/b/l/blenderpython-HEAD/scripts/archive/mesh_grid_cap.py   blenderpython(Download)
def unregister():
    bpy.utils.unregister_module(__name__)
    bpy.types.VIEW3D_MT_edit_mesh_faces.remove(menu_func)
 
if __name__ == "__main__":

src/b/l/blenderpython-HEAD/scripts/addons_extern/mesh_selection_topokit.py   blenderpython(Download)
def unregister():
    bpy.utils.unregister_module(__name__)
    bpy.types.VIEW3D_MT_edit_mesh_vertices.remove(vvmenuitem)
    bpy.types.VIEW3D_MT_edit_mesh_edges.remove(eemenuitem)
    bpy.types.VIEW3D_MT_edit_mesh_faces.remove(ffmenuitem)