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

Method fail_enum_call_arg

mypy/semanal_enum.py:260–264  ·  view source on GitHub ↗
(
        self, message: str, context: Context
    )

Source from the content-addressed store, hash-verified

258 return new_class_name, items, values, True
259
260 def fail_enum_call_arg(
261 self, message: str, context: Context
262 ) -> tuple[str, list[str], list[Expression | None], bool]:
263 self.fail(message, context)
264 return "", [], [], False
265
266 # Helpers
267

Callers 1

parse_enum_call_argsMethod · 0.95

Calls 1

failMethod · 0.95

Tested by

no test coverage detected