Python3.6.5+ now supports type hinting: https://docs.python.org/3/library/typing.html.
Autogenerated docstrings should include the available information about argument and return types. This means documenting
def greeting(name: str) -> str:
return 'Hello ' + name
should populate something like name (str): [description] ... returns: (str)[description]
Python3.6.5+ now supports type hinting: https://docs.python.org/3/library/typing.html. Autogenerated docstrings should include the available information about argument and return types. This means documenting
should populate something like
name (str): [description] ... returns: (str)[description]