#| export
def super_func(
keyword_or_non_keyword_arg, # this is a keyword or non-keyword arg
*,
keyword_only_arg # this is a keyword only arg
) -> str: # return string
"super func"
...
makes the documentation not working:
show_doc(super_func)
super_func
super_func (keyword_or_non_keyword_arg, keyword_only_arg)
super func
| | Type | Details | | – | ——– | ———– | | keyword_or_non_keyword_arg | | this is a keyword or non-keyword arg | | keyword_only_arg | | | | Returns | str | return string |
Example
Hello! Using keyword only argument such as:
makes the documentation not working:
the documentation for keyword_only_arg is absent
Configuration
Python 3.7.16 nbdev 2.3.12