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/addons_extern/space_text_snippet_system.py   blenderpython(Download)
 
    else:
        bpy.types.TEXT_MT_templates.remove(draw_item)
 
 

src/s/v/sverchok-HEAD/text_editor_Submenu.py   sverchok(Download)
def unregister():
    bpy.utils.unregister_class(SvScriptLoader)
    bpy.utils.unregister_class(SvTextSubMenu)
    bpy.types.TEXT_MT_templates.remove(menu_draw)