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

Function is_StrExpr_list

mypy/nodes.py:2287–2288  ·  view source on GitHub ↗
(seq: list[Expression])

Source from the content-addressed store, hash-verified

2285
2286
2287def is_StrExpr_list(seq: list[Expression]) -> TypeGuard[list[StrExpr]]: # noqa: N802
2288 return all(isinstance(item, StrExpr) for item in seq)
2289
2290
2291class BytesExpr(Expression):

Callers 2

parse_enum_call_argsMethod · 0.90
parse_namedtuple_argsMethod · 0.90

Calls 2

allFunction · 0.85
isinstanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…