spack/lib/spack
Todd Gamblin b3ba9bdb37 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.
2017-04-26 11:06:34 -07:00
..
docs Add API Docs for lib/spack/llnl (#3982) 2017-04-25 22:24:02 -07:00
env Correct inconsistency in comment (#3414) 2017-03-11 12:52:08 -06:00
external Use key sorting instead of cmp() 2017-03-31 13:40:41 -07:00
llnl Add API Docs for lib/spack/llnl (#3982) 2017-04-25 22:24:02 -07:00
spack Add __format__ support to version for fancy formatting. (#3996) 2017-04-26 11:06:34 -07:00