#12085: Fix docstring in sage/crypto/boolean_function.pyx
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: mvngu
Type: defect | Status: new
Priority: major | Milestone: sage-4.8
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies:
------------------------+---------------------------------------------------
Description changed by jdemeyer:
Old description:
> Needed for upgrade to Python 2.7.2 (#9958).
New description:
Needed for upgrade to Python 2.7.2 (#9958). There is a problem with the
math block in
{{{
def annihilator(self,d, dim = False):
"""
Return (if it exists) an annihilator of the boolean function of
degree at most `d`, that is a Boolean polynomial `g` such that
.. math::
f(x)g(x) = 0 \forall x.
}}}
This results in
{{{
docstring of sage.crypto.boolean_function:4: WARNING: Block quote ends
without a blank line; unexpected unindent.
}}}
Note that the warning does not at all refer to the function "annihilator".
I had to do a binary search in the .pyx file to find where the problem
lies.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12085#comment:2>
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.