Repository: sympy/sympy
File: sympy/simplify/hyperexpand_doc.py (Python)

Code before:
""" This module cooks up a docstring when imported. Its only purpose is to
    be displayed in the sphinx documentation. """

def _generate_doc():
    from sympy import Eq, hyper
    from sympy.printing.latex import latex
    from sympy.simplify.hyperexpand import FormulaCollection
    from sympy.core.function import AppliedUndef, Function

    
    FUNCTION_LINKS = {
        # Special functions 
        # gamma family
        'gamma': ':func:`~sympy.functions.special.gamma_functions.gamma`',
        'lowergamma': ':func:`~sympy.functions.special.gamma_functions.lowergamma`',
        'uppergamma': ':func:`~sympy.functions.special.gamma_functions.uppergamma`',

        # Bessel functions
        'besselj': ':func:`~sympy.functions.special.bessel.besselj`',
        'besseli': ':func:`~sympy.functions.special.bessel.besseli`',

        # Error functions
        'erf': ':func:`~sympy.functions.special.error_functions.erf`',
        'expint': ':func:`~sympy.functions.special.error_functions.expint`',
        'Ei': ':func:`~sympy.functions.special.error_functions.Ei`',
        'Ci': ':func:`~sympy.functions.special.error_functions.Ci`',
        'Si': ':func:`~sympy.functions.special.error_functions.Si`',
        'Shi': ':func:`~sympy.functions.special.error_functions.Shi`',
        'Chi': ':func:`~sympy.functions.special.error_functions.Chi`',
        'fresnels': ':func:`~sympy.functions.special.error_functions.fresnels`',
        'fresnelc': ':func:`~sympy.functions.special.error_functions.fresnelc`',

        # Elliptic integrals
        'elliptic_k': ':func:`~sympy.functions.special.elliptic_integrals.elliptic_k`',
        'elliptic_e': ':func:`~sympy.functions.special.elliptic_integrals.elliptic_e`',

Review comment (suggestion):
This line contains trailing whitespace, which is generally considered a style issue and should be removed.
```suggestion

```

Code after:
""" This module cooks up a docstring when imported. Its only purpose is to
    be displayed in the sphinx documentation. """

def _generate_doc():
    from sympy import Eq, hyper
    from sympy.printing.latex import latex
    from sympy.simplify.hyperexpand import FormulaCollection
    from sympy.core.function import AppliedUndef, Function

    FUNCTION_LINKS = {
        # Special functions - gamma family
        'gamma': ':func:`~sympy.functions.special.gamma_functions.gamma`',
        'lowergamma': ':func:`~sympy.functions.special.gamma_functions.lowergamma`',
        'uppergamma': ':func:`~sympy.functions.special.gamma_functions.uppergamma`',

        # Bessel functions
        'besselj': ':func:`~sympy.functions.special.bessel.besselj`',
        'besseli': ':func:`~sympy.functions.special.bessel.besseli`',

        # Error functions
        'erf': ':func:`~sympy.functions.special.error_functions.erf`',
        'expint': ':func:`~sympy.functions.special.error_functions.expint`',
        'Ei': ':func:`~sympy.functions.special.error_functions.Ei`',
        'Ci': ':func:`~sympy.functions.special.error_functions.Ci`',
        'Si': ':func:`~sympy.functions.special.error_functions.Si`',
        'Shi': ':func:`~sympy.functions.special.error_functions.Shi`',
        'Chi': ':func:`~sympy.functions.special.error_functions.Chi`',
        'fresnels': ':func:`~sympy.functions.special.error_functions.fresnels`',
        'fresnelc': ':func:`~sympy.functions.special.error_functions.fresnelc`',

        # Elliptic integrals
        'elliptic_k': ':func:`~sympy.functions.special.elliptic_integrals.elliptic_k`',
        'elliptic_e': ':func:`~sympy.functions.special.elliptic_integrals.elliptic_e`',

        # Elementary functions - exponential