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

Method is_dynamic

mypy/nodes.py:1070–1075  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1068 return self.max_pos
1069
1070 def is_dynamic(self) -> bool:
1071 return (
1072 self.type is None
1073 or isinstance(self.type, mypy.types.CallableType)
1074 and self.type.implicit
1075 )
1076
1077
1078FUNCDEF_FLAGS: Final = FUNCITEM_FLAGS + [

Callers 11

visit_funcMethod · 0.45
check_func_itemMethod · 0.45
check_default_paramsMethod · 0.45
check_method_overrideMethod · 0.45
analyze_aliasMethod · 0.45
in_checked_functionMethod · 0.45
type_analyzerMethod · 0.45
is_dynamicMethod · 0.45
is_dynamicMethod · 0.45
visit_func_defMethod · 0.45

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected