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

Function is_implicit_any

mypy/suggestions.py:228–230  ·  view source on GitHub ↗
(typ: Type)

Source from the content-addressed store, hash-verified

226
227
228def is_implicit_any(typ: Type) -> bool:
229 typ = get_proper_type(typ)
230 return isinstance(typ, AnyType) and not is_explicit_any(typ)
231
232
233def _arg_accepts_function(typ: ProperType) -> bool:

Callers 1

get_argsMethod · 0.85

Calls 3

get_proper_typeFunction · 0.90
isinstanceFunction · 0.85
is_explicit_anyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…