astropy/astropy — pull request #2313 by lpsinger (2014-04-12 04:05:20+00:00)
Title: Permit any callable, not just a function, for format

For instance, a class that implements a `__call__` method is also fine.