This commit splits the core of pprint() to a new function that is
a generator of chunks instead of a function returning a single
value. This will make it possible to stream output without waiting for
all data to be formatted first. And it will make it easier to
implement support for indenting.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG0d21b1f1722c: stringutil: refactor core of pprint so it emits chunks
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.