astropy.units.equivalencies.dimensionless_angles()[source] [edit on github]

Allow angles to be equivalent to dimensionless (with 1 rad = 1 m/m = 1).

It is special compared to other equivalency pairs in that it allows this independent of the power to which the angle is raised, and independent of whether it is part of a more complicated unit.