sublime_docblockr_python icon indicating copy to clipboard operation
sublime_docblockr_python copied to clipboard

doesn't work when return statement followed by string literal

Open EdsterG opened this issue 6 years ago • 0 comments

The following function:

def foo(bar):
    return "hello" + bar

results in:

    """[summary]
    
    [description]
    :param bar: [description]
    :type bar: [type]
    """

should be:

    """[summary]
    
    [description]
    :param bar: [description]
    :type bar: [type]
    :returns: [description]
    :rtype: {[type]}
    """

EdsterG avatar Sep 21 '18 04:09 EdsterG