daviis / PyDucker

A static ducking tool for python 3 source code
2 stars 2 forks source link

DocStringParser: dict should have key and value types #85

Closed daviis closed 9 years ago

daviis commented 9 years ago

I think we should have the docstring parser return key and value types when dictionaries are hinted at such as

def cool(**kwargs):
    """
    @kwargs:int**string
    """
    print(kwargs)

Where kwargs would have keys of type int and values of type str.

What do you guys think? If we do it it wouldn't be needed until dictionaries can be typed correctly.

daviis commented 9 years ago

Completed.