This is an archive of the discontinued Mercurial Phabricator instance.

stringutil: support more types with pprint()
ClosedPublic

Authored by indygreg on Apr 13 2018, 2:26 AM.

Details

Summary

bytearray wasn't working. Integers and floats were not being
formatted.

I /think/ %f is portable across both Python 2 and 3, as it should
default to 6 decimal points on each.

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.