For consistency: replace @staticmethod with @classmethod.
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qapi/parser.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/qapi/parser.py b/scripts/qapi/parser.py
index a3403d4017..f5f40ffa16 100644
--- a/scripts/qapi/parser.py
+++ b/scripts/qapi/parser.py
@@ -465,8 +465,8 @@ def append(self, line):
def end_comment(self):
self._end_section()
- @staticmethod
- def _is_section_tag(name):
+ @classmethod
+ def _is_section_tag(cls, name):
return name in ('Returns:', 'Since:',
# those are often singular or plural
'Note:', 'Notes:',
--
2.26.2