Skip to content

Commit e2f65ba

Browse files
committed
refact: refactorize typing
1 parent abf883a commit e2f65ba

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/zxbpp/prepro/builtinmacro.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from collections.abc import Callable
22

3-
from src.zxbpp import prepro
4-
3+
from src.zxbpp.prepro import DefinesTable
54
from .id_ import ID
65
from .macrocall import MacroCall
76

@@ -16,5 +15,5 @@ def __init__(self, macro_name: str, func: Callable[[MacroCall | None], str]):
1615
super().__init__(fname="", lineno=0, id_=macro_name)
1716
self.func = func
1817

19-
def __call__(self, symbolTable: prepro.DefinesTable | None = None, macro: MacroCall | None = None) -> str:
18+
def __call__(self, symbolTable: DefinesTable | None = None, macro: MacroCall | None = None) -> str:
2019
return self.func(macro)

0 commit comments

Comments
 (0)