mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
qapi: Inheriting from object is pointless with Python 3, drop
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200304155932.20452-2-armbru@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
abfa865014
commit
baa310f1bb
4 changed files with 12 additions and 12 deletions
|
@ -13,7 +13,7 @@ import copy
|
|||
import sys
|
||||
|
||||
|
||||
class QAPISchemaPragma(object):
|
||||
class QAPISchemaPragma:
|
||||
def __init__(self):
|
||||
# Are documentation comments required?
|
||||
self.doc_required = False
|
||||
|
@ -23,7 +23,7 @@ class QAPISchemaPragma(object):
|
|||
self.name_case_whitelist = []
|
||||
|
||||
|
||||
class QAPISourceInfo(object):
|
||||
class QAPISourceInfo:
|
||||
def __init__(self, fname, line, parent):
|
||||
self.fname = fname
|
||||
self.line = line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue