Delete an individual user setting. This is the same as calling delete_entry. The syntax for deleting the item using this manner is: del settings['entry'] :param item: The key for the setting to delete :type item: Any
(self, item)
| 22917 | return self.get(item, self.default_value) |
| 22918 | |
| 22919 | def __delitem__(self, item): |
| 22920 | """ |
| 22921 | Delete an individual user setting. This is the same as calling delete_entry. The syntax |
| 22922 | for deleting the item using this manner is: |
| 22923 | del settings['entry'] |
| 22924 | :param item: The key for the setting to delete |
| 22925 | :type item: Any |
| 22926 | """ |
| 22927 | if self.use_config_file: |
| 22928 | return self.get(item) |
| 22929 | else: |
| 22930 | self.delete_entry(key=item) |
| 22931 | |
| 22932 | |
| 22933 | # Create a singleton for the settings information so that the settings functions can be used |
nothing calls this directly
no test coverage detected