I do not have the impression that localization is supported in SageMath yet. (It would be nice to have it!) I simply found a LocalizationRing class given as an example in the documentation: http://doc.sagemath.org/html/en/reference/coercion/index.html#example. You may use this example to define your own class.
I do not have the impression think that localization is not supported in SageMath yet. (It would be nice to have it!) I simply found a LocalizationRing class given as an example in the documentation: http://doc.sagemath.org/html/en/reference/coercion/index.html#example. You may use this example to define your own class.