astropy/astropy — pull request #1486 by mdboom (2013-09-24 12:58:01+00:00)
Title: Use isinstance instead of type() == x

This is a follow-up to a discussion in #1422. If this change passes Travis, I think it's obviously preferable (just not sure if it is the way it is for a reason).