#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:15 AlexGhitza]:
For {{{groebner??}}} I get the call docstring for the
{{{SingularFunction}}}.
> What would I like to see? (I'm not sure if this is feasible without a
lot of work, but here goes.) If I type {{{groebner?}}} I want to know how
to use {{{groebner}}} from Sage. For instance, seeing the example
>
> {{{
> sage: groebner = sage.libs.singular.ff.groebner
> sage: P.<x, y> = PolynomialRing(QQ)
> sage: I = P.ideal(x^2-y, y+x)
> sage: groebner(I)
> [x + y, y^2 - y]
> }}}
>
> and maybe a couple more showing other arguments/options would get me
started with using the function. So I would think that it's more useful
and natural to have something like the above, followed by the Singular
help that shows all the options, bells, and whistles. Again, I don't know
if this is feasible, but it would be nice.
>
> If that's not possible, maybe have a docstring that shows how to use
some of the more popular Singular functions from Sage. If that's followed
by the Singular help for the particular function I'm looking at at the
moment, I should be able to put the two together and understand how to do
things.
It seems the second option is feasible.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7939#comment:18>
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.