diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-04-26 11:06:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 11:06:34 -0700 |
commit | b3ba9bdb377728bb4886dbc4ae11ac3a57a59bae (patch) | |
tree | 207bb4a234ec18db16355deae0c32bcbcd0ba5f5 /bin | |
parent | c616e4a61904119a5a396a822634ffb1b8326f33 (diff) | |
download | spack-b3ba9bdb377728bb4886dbc4ae11ac3a57a59bae.tar.gz spack-b3ba9bdb377728bb4886dbc4ae11ac3a57a59bae.tar.bz2 spack-b3ba9bdb377728bb4886dbc4ae11ac3a57a59bae.tar.xz spack-b3ba9bdb377728bb4886dbc4ae11ac3a57a59bae.zip |
Add __format__ support to version for fancy formatting. (#3996)
- add Version.__format__ to support new-style formatting.
- Python3 doesn't handle this well -- it delegates to
object.__format__(), which raises an error for fancy format strings.
- not sure why it doesn't call str(self).__format__ instead, but that's
hwo things are.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions