Do _l_action_ and _r_action_ actually work?

We have the following occurrences:

dakrenn@nops:~$ sage -grep "_l_action_"
sage/rings/multi_power_series_ring_element.py:#        return
self._l_action_(c)
sage/rings/multi_power_series_ring_element.py:    def _l_action_(self, c):
sage/rings/multi_power_series_ring_element.py:            sage: g =
f._l_action_(1/2); g
dakrenn@nops:~$ sage -grep "_r_action_"
sage/rings/multi_power_series_ring_element.py:#    def _r_action_(self, c):

And inserting a print into the above's _l_action_ makes only one doctest
fail, namely the one which explicitly calls this method.

I ask, because I need this kind of behavior and [1] suggests to
implement these methods.

Best

Daniel


[1]
http://doc.sagemath.org/html/en/reference/coercion/index.html#methods-to-implement

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to