Hi,

I wrote a patch to remove the redundant minus sign in the last output
in the following:

sage: from sage.rings.polynomial.multi_polynomial_ring import
MPolynomialRing_polydict
sage: R.<x,y>=MPolynomialRing_polydict(GF(2),2,order='lex')
sage: R
Multivariate Polynomial Ring in x, y over Finite Field of size 2
sage: f=x+y
sage: f.lt()
-x

And a reviewer of the patch requested me to add a doctest in the patch
to show that the bug is fixed. At this point, I wonder if it is a good
idea to put such a doctest in the Examples section of the document
string. I think the Examples section is for the user to learn how to
use the given function. Then an example just to check a simple bugfix
is not very useful for this purpose.

Do I need to put a doctest anyway?


Kwankyu

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to