INNER CODE UNIT · Python

get_func_comments

idealo/image-quality-assessment · mkdocs/autogen.py:174

def get_func_comments(function_definitions):
    doc = ''
    for f in function_definitions:
        temp_str = to_md(parse_func_string(ast.get_docstring(f)))
        doc += ''.join(
            [
                '### ',
                f.name.replace('_', '\\_'),
                '\n',
                '```python',
                '\n',
                'def ',
                f.name,
                parse_func_args(f),
                '\n',
                '```',
                '\n',
                temp_str,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…