a9d88683e7e4275374191f5af212e24f849e5132,docs/conf.py,,modpath,#Any#,155

Before Change


    while modname not in sys.modules:
        modname, classname = modname.rsplit(".", 1)

    if classname:
        cls = getattr(sys.modules[modname], classname)
        modname = cls.__module__

    module = sys.modules[modname]

    project_dir = Path(scanpy.__file__).parent.parent
    return Path(module.__file__).relative_to(project_dir)

After Change



def modpath(fullname):
     Get the full module path for some object’s qualname 
    obj, module = get_obj_module(fullname)

    fragment = "//L{}-L{}".format(*get_lines(obj)) if obj else ""
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: theislab/scanpy
Commit Name: a9d88683e7e4275374191f5af212e24f849e5132
Time: 2017-08-29
Author: flying-sheep@web.de
File Name: docs/conf.py
Class Name:
Method Name: modpath


Project Name: tyarkoni/pliers
Commit Name: af8f451f0df8f93092d50f28c6200a1ba8f99d81
Time: 2017-12-01
Author: delavega@utexas.edu
File Name: pliers/utils/updater.py
Class Name:
Method Name: check_updates


Project Name: theislab/scanpy
Commit Name: 51e355ab328427169ca15c6db257ceaef62a0795
Time: 2019-01-03
Author: flying-sheep@web.de
File Name: docs/conf.py
Class Name:
Method Name: get_obj_module