python doctring 风格

Numpy Style

        """
        description
        Parameters
        ----------
        current_value
        min_scale
        max_scale

        Returns
        -------

        """

Google Style

"""
        description
        Args:
            current_value: 
            min_scale: 
            max_scale: 

        Returns:


"""

reStructuredText

        """
        description
        :param current_value: 
        :param min_scale: 
        :param max_scale: 
        :return: 
        """

Epytext

        """
        description
        @param current_value: 
        @param min_scale: 
        @param max_scale: 
        @return: 
        """

你可能感兴趣的:(python doctring 风格)