diff options
Diffstat (limited to 'examples/widgets/codeeditor/codeeditor.py')
-rw-r--r-- | examples/widgets/codeeditor/codeeditor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/codeeditor/codeeditor.py b/examples/widgets/codeeditor/codeeditor.py index 9e0ac5b23..f5f119000 100644 --- a/examples/widgets/codeeditor/codeeditor.py +++ b/examples/widgets/codeeditor/codeeditor.py @@ -57,7 +57,7 @@ class LineNumberArea(QWidget): class CodeEditor(QPlainTextEdit): def __init__(self): - QPlainTextEdit.__init__(self) + super().__init__() self.line_number_area = LineNumberArea(self) self.blockCountChanged[int].connect(self.update_line_number_area_width) |