]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: move the element constructor into the parent algebra class.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Aug 2019 23:18:11 +0000 (19:18 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Aug 2019 23:18:11 +0000 (19:18 -0400)
Instead of using the element's __init__(), we're now using the
algebra's _element_constructor_() method that only gets called
after the parent tries to coerce the argument and fails. This
is somewhat cleaner because we don't have to handle the "usual"
case.


No differences found