Fix up some code after aplanas' continued review

This commit is contained in:
Stephan Kulow
2022-11-02 15:14:38 +01:00
parent 6ac0f90ec7
commit 172242891d
6 changed files with 21 additions and 22 deletions

View File

@@ -1,6 +1,10 @@
class AbstractWalker:
from abc import ABC, abstractmethod
class AbstractWalker(ABC):
"""Just a duck type, most likely not needed by python, but I
find interface classes preferable (java school)"""
@abstractmethod
def call(self, node, is_source):
pass