summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-04-26 11:06:34 -0700
committerGitHub <noreply@github.com>2017-04-26 11:06:34 -0700
commitb3ba9bdb377728bb4886dbc4ae11ac3a57a59bae (patch)
tree207bb4a234ec18db16355deae0c32bcbcd0ba5f5 /bin
parentc616e4a61904119a5a396a822634ffb1b8326f33 (diff)
downloadspack-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