MCPcopy Index your code
hub / github.com/python/cpython / helplist_item_remove

Method helplist_item_remove

Lib/idlelib/configdialog.py:2189–2198  ·  view source on GitHub ↗

Handle remove button for the help list. Delete the help list item from config.

(self)

Source from the content-addressed store, hash-verified

2187 self.set_add_delete_state() # Selected will be un-selected
2188
2189 def helplist_item_remove(self):
2190 """Handle remove button for the help list.
2191
2192 Delete the help list item from config.
2193 """
2194 item_index = self.helplist.index(ANCHOR)
2195 del(self.user_helplist[item_index])
2196 self.helplist.delete(item_index)
2197 self.update_help_changes()
2198 self.set_add_delete_state()
2199
2200 def update_help_changes(self):
2201 "Clear and rebuild the HelpFiles section in changes"

Callers 1

Calls 4

update_help_changesMethod · 0.95
set_add_delete_stateMethod · 0.95
indexMethod · 0.45
deleteMethod · 0.45

Tested by 1