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

Method print_more

mypy/messages.py:2444–2459  ·  view source on GitHub ↗
(
        self,
        conflicts: Sequence[Any],
        context: Context,
        offset: int,
        max_items: int,
        *,
        code: ErrorCode | None = None,
    )

Source from the content-addressed store, hash-verified

2442 )
2443
2444 def print_more(
2445 self,
2446 conflicts: Sequence[Any],
2447 context: Context,
2448 offset: int,
2449 max_items: int,
2450 *,
2451 code: ErrorCode | None = None,
2452 ) -> None:
2453 if len(conflicts) > max_items:
2454 self.note(
2455 f"<{len(conflicts) - max_items} more conflict(s) not shown>",
2456 context,
2457 offset=offset,
2458 code=code,
2459 )
2460
2461 def try_report_long_tuple_assignment_error(
2462 self,

Callers 1

Calls 2

noteMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected