modules: Fix type annotation imports

pull/8822/head
Dylan Baker 4 years ago
parent 118f70fede
commit e23f78141a
  1. 3
      mesonbuild/modules/__init__.py

@ -23,8 +23,9 @@ import typing as T
if T.TYPE_CHECKING: if T.TYPE_CHECKING:
from ..interpreter import Interpreter from ..interpreter import Interpreter
from ..interpreter.interpreterobjects import IncludeDirsHolder from ..interpreter.interpreterobjects import IncludeDirsHolder, ExternalProgramHolder
from ..interpreterbase import TYPE_var, TYPE_nvar, TYPE_nkwargs from ..interpreterbase import TYPE_var, TYPE_nvar, TYPE_nkwargs
from ..programs import ExternalProgram
class ModuleState: class ModuleState:
"""Object passed to all module methods. """Object passed to all module methods.

Loading…
Cancel
Save