summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorMarkus Armbruster2020-03-04 16:59:31 +0100
committerMarkus Armbruster2020-03-05 09:24:11 +0100
commit2cae67bcb5eab314f8e2030f04face602422bd60 (patch)
tree0047b631dde7caad69d304bc070e0c5892259403 /scripts/qapi/parser.py
parentqapi: Drop conditionals for Python 2 (diff)
downloadqemu-2cae67bcb5eab314f8e2030f04face602422bd60.tar.gz
qemu-2cae67bcb5eab314f8e2030f04face602422bd60.tar.xz
qemu-2cae67bcb5eab314f8e2030f04face602422bd60.zip
qapi: Use super() now we have Python 3
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200304155932.20452-4-armbru@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
-rw-r--r--scripts/qapi/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi/parser.py b/scripts/qapi/parser.py
index cf14e5426c..340f7c4633 100644
--- a/scripts/qapi/parser.py
+++ b/scripts/qapi/parser.py
@@ -320,7 +320,7 @@ class QAPIDoc:
class ArgSection(Section):
def __init__(self, name):
- QAPIDoc.Section.__init__(self, name)
+ super().__init__(name)
self.member = None
def connect(self, member):