void (@NotNull final PyImportStatementBase importStatement) { final PsiElement sibling = importStatement.getPrevSibling(); importStatement.delete(); if (sibling instanceof PsiWhiteSpace) sibling.delete(); }