487c03af5cbe18777b0d3413aae572f29711d028,mkdocs/code_doc_autogen.py,,process_docstring,#Any#,300

Before Change



    // Strip all remaining leading spaces.
    lines = _docstring.split("\n")
    _docstring = "\n".join([line.lstrip(" ") for line in lines])

    // Reinject list blocks.
    for marker, content in sections.items():

After Change


            yield l.lstrip(" ")

    lines = _docstring.split("\n")
    _docstring = "\n".join(strip_leading_spaces(lines))

    // Reinject list blocks.
    for marker, content in sections.items():
        _docstring = _docstring.replace(marker, content)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: uber/ludwig
Commit Name: 487c03af5cbe18777b0d3413aae572f29711d028
Time: 2019-12-23
Author: jimthompson5802@aol.com
File Name: mkdocs/code_doc_autogen.py
Class Name:
Method Name: process_docstring


Project Name: mlflow/mlflow
Commit Name: 2b748e42725450bf20f184397f1918de7ac812ee
Time: 2020-08-07
Author: 52183359+ankitmathur-db@users.noreply.github.com
File Name: mlflow/utils/uri.py
Class Name:
Method Name: get_db_info_from_uri


Project Name: pytorch/pytorch
Commit Name: 7494f0233aabb5109e068f3cad73e20dc6a8dd23
Time: 2021-01-21
Author: ansley@fb.com
File Name: torch/fx/graph.py
Class Name:
Method Name: _snake_case