set_enabled_constants

astropy.constants.set_enabled_constants(modname)[source]

Context manager to temporarily set values in the constants namespace to an older version. See Collections of Constants (and Prior Versions) for usage.

Parameters:
modname : {‘astropyconst13’}

Name of the module containing an older version.