MCPcopy Index your code
hub / github.com/python/mypy / ImportAll

Class ImportAll

mypy/nodes.py:682–698  ·  view source on GitHub ↗

from m import *

Source from the content-addressed store, hash-verified

680
681
682class ImportAll(ImportBase):
683 """from m import *"""
684
685 __slots__ = ("id", "relative")
686
687 __match_args__ = ("id", "relative")
688
689 id: str
690 relative: int
691
692 def __init__(self, id: str, relative: int) -> None:
693 super().__init__()
694 self.id = id
695 self.relative = relative
696
697 def accept(self, visitor: StatementVisitor[T]) -> T:
698 return visitor.visit_import_all(self)
699
700
701FUNCBASE_FLAGS: Final = ["is_property", "is_class", "is_static", "is_final"]

Callers 4

visit_ImportFromMethod · 0.90
visit_import_allMethod · 0.90
read_statementFunction · 0.90
deserialize_importsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…