Fix `pformat_caller_frame()`s bogus `indent` kwarg

Just drop it — `pformat_boxed_tb()` spells its knobs
`tb_box_indent`/`tb_body_indent`, and that fn's default
(1-space box indent) is what the caller wanted anyway.

Regressed-by: 888af602 (`pformat_cs()` mv into `.devx.pformat`)
Found-via: `/run-tests` test_pformat_caller_frame_renders

(this patch was generated in some part by `claude-code` using `claude-opus-5` (`anthropic`))
pformat_caller_frame_render_guard
Gud Boi 2026-08-14 09:34:18 -04:00
parent a3d65a6b3d
commit 9afda1c61d
1 changed files with 0 additions and 1 deletions

View File

@ -215,7 +215,6 @@ def pformat_caller_frame(
tb_str: str = pformat_boxed_tb( tb_str: str = pformat_boxed_tb(
tb_str=tb_str, tb_str=tb_str,
field_prefix=' ', field_prefix=' ',
indent='',
) )
return tb_str return tb_str