astropy/astropy — pull request #1988 by eteq (2014-01-22 19:27:51+00:00)
Title: Make hms/dms namedtuples

This small change adjusts `Angle` so that the `hms` and `dms` attributes yield `namedtuple`s instead of regular tuples. That enables usage along these lines:
```
'{0.h} {0.m} {0.s:.3f}'.format(coordinate.hms)
```