diff --git a/src/plugins/pythoneditor/pythoneditorwidget.h b/src/plugins/pythoneditor/pythoneditorwidget.h
index e5a63d4140e808111562a613cc7411a06683cae9..37b1d46405ce9ad7c278993c5226f5d54c64667a 100644
--- a/src/plugins/pythoneditor/pythoneditorwidget.h
+++ b/src/plugins/pythoneditor/pythoneditorwidget.h
@@ -31,7 +31,6 @@
 #define PYTHONEDITORWIDGET_H
 
 #include <texteditor/basetexteditor.h>
-#include <utils/uncommentselection.h>
 
 namespace PythonEditor {
 namespace Internal {