(
object: object,
indent: int = 1,
width: int = 80,
depth: Optional[int] = None,
*,
compact: bool = False,
)
| 141 | |
| 142 | |
| 143 | def _pformat_dispatch( |
| 144 | object: object, |
| 145 | indent: int = 1, |
| 146 | width: int = 80, |
| 147 | depth: Optional[int] = None, |
| 148 | *, |
| 149 | compact: bool = False, |
| 150 | ) -> str: |
| 151 | return AlwaysDispatchingPrettyPrinter( |
| 152 | indent=indent, width=width, depth=depth, compact=compact |
| 153 | ).pformat(object) |