sv_binutils: follow cls arguments naming conventions
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Tue, 19 Apr 2022 20:28:38 +0000 (20:28 +0000)
committerDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Tue, 19 Apr 2022 21:23:25 +0000 (21:23 +0000)
src/openpower/sv/sv_binutils.py

index cf1a36973a55e2271bf96ec2c68519d493534297..462c41a8de6e002e1669b4cbdf029c2083f99e32 100644 (file)
@@ -35,7 +35,7 @@ def indent(strings):
 class CType:
     @classmethod
     @_abc.abstractmethod
-    def c_decl(self, name):
+    def c_decl(cls, name):
         pass
 
     @_abc.abstractmethod
@@ -44,7 +44,7 @@ class CType:
 
     @classmethod
     @_abc.abstractmethod
-    def c_var(self, name):
+    def c_var(cls, name):
         pass