heavenshell / vim-pydocstring

Generate Python docstring to your Python source code.
BSD 3-Clause "New" or "Revised" License
337 stars 53 forks source link

Generate missing param #44

Closed heavenshell closed 6 years ago

heavenshell commented 6 years ago
def func(a: int, b, c):
    pass
def func(a: int, b, c):
    """func

    :param a:
    :type a: int
    :param c:
    """
    pass

b is missing.

heavenshell commented 6 years ago

0.4.0 improved but following are not right.

def func(a, b: List[int, int, int], c):
    pass
def func(a, b: List[int, int, int], c):
    """func

    :param a:
    :param b:
    :type b: List[int, int, int]
    """
    pass

c is missing.