On 2012-05-03, Simon King <simon.k...@uni-jena.de> wrote: > .... Then, the third solution of your > problem would be > def __init__(self, i): > CommutativeRing.__init__(self, i.base_ring(), category=False) > self._ideal = i > self._init_category_(CommutativeRings()) # or whatever is appropriate
Oops, I mean CommutativeAlgebra.__init__(...) and CommutativeAlgebras(i.base_ring()), of course. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org