Is there a way to write the following function so that my IDE doesn't complain that column is an unused variable?
def get_selected_index(self):
(path, column) = self._tree_view.get_cursor()
return path[0]
In this case I don't care about the second item in the tuple and just want to discard the reference to it when it is unpacked.