#7939: shorten doctests in sage/rings/multi_polynomial_ideal.py
-------------------------------+--------------------------------------------
Reporter: rlm | Owner: tbd
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.3.2
Component: interfaces | Keywords:
Author: Martin Albrecht | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Comment(by malb):
Replying to [comment:11 AlexGhitza]:
> 1. Is there any way to get tab-completion to work in this situation:
Yes, that should be possible since {{{ff}}} is just an object (so it only
needs trait names or however this function is called).
Do you like the name "ff" by the way (function factory)? It should be
short but precise. "factory" is out, because there is a module in Singular
called factory (for factorisation).
> 2. After I got over my laziness, I typed in the whole thing:
>
> {{{
> sage: groebner = sage.libs.singular.ff.groebner
> sage: P.<x, y> = QQ[]
> sage: I = P.ideal(x^2-y, x+y)
> sage: groebner(I)
> }}}
Works for me, I just tried it.
> I tried groebner? and groebner?? (which give very different results) but
I couldn't get an
answer quickly.
{{{groebner?}}} will show you the Singular help while {{{groebner??}}}
will show you the generic Singular function interface docstring. Maybe we
should merge them in {{{groebner?}}}? Let me know in what order, and I can
implement it.
> (I still think it's terrific stuff, though!)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7939#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.