Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2728 by [email protected]: pow's 3rd argument could be implemented
http://code.google.com/p/sympy/issues/detail?id=2728

pow(S(3), 2) gives Integer(9) but trying to use the mod argument raises an error:

    >>> pow(S(3), 2, 4)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: __sympifyit_wrapper() takes exactly 2 arguments (3 given)
    >>> pow(3, 2, 4)
    1

Perhaps the 3rd argument could be implemented/(wrapped?).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to