Skip to content

Fix docstring in sage/crypto/boolean_function.pyx #12085

@jdemeyer

Description

@jdemeyer

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.

Component: doctest coverage

Author: Jeroen Demeyer, André Apitzsch

Reviewer: Volker Braun

Merged: sage-4.8.alpha3

Issue created by migration from https://trac.sagemath.org/ticket/12085

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions