Ce sont ces balises @ivar @param et @type en python docstring?

L'ampoule projet utilise des tags en docstring, comme la javadoc.

Par exemple de pool.py ligne 86:

def start(self, ampChild=None):
    """
    Starts the ProcessPool with a given child protocol.

    @param ampChild: a L{ampoule.child.AMPChild} subclass.
    @type ampChild: L{ampoule.child.AMPChild} subclass
    """

Ce sont ces balises, l'outil utilise.

OriginalL'auteur Andrea Francia | 2008-12-18