--- a/src/eric7/UI/PythonAstViewer.py Tue Apr 23 09:29:13 2024 +0200 +++ b/src/eric7/UI/PythonAstViewer.py Tue Apr 23 11:26:04 2024 +0200 @@ -427,11 +427,11 @@ self.__astWidget.setColumnWidth(0, nodeSize) self.__astWidget.setColumnWidth(1, rangeSize) - def resizeEvent(self, evt): + def resizeEvent(self, _evt): """ Protected method to handle resize events. - @param evt resize event + @param _evt resize event (unused) @type QResizeEvent """ # just adjust the sizes of the columns @@ -508,13 +508,13 @@ self.__astWidget.setFocus(Qt.FocusReason.OtherFocusReason) @pyqtSlot(QTreeWidgetItem, int) - def __astItemClicked(self, itm, column): + def __astItemClicked(self, itm, _column): """ Private slot handling a user click on an AST node item. @param itm reference to the clicked item @type QTreeWidgetItem - @param column column number of the click + @param _column column number of the click (unused) @type int """ self.__editor.clearAllHighlights()