9fcb5a8ef300cc14c54e9f2633142f7b5e2ca53f,tools/refguide_check.py,,main,#Any#,297

Before Change



    module_name = args.module_name[0].split(".")
    module = scipy
    for n in module_name:
        module = getattr(module, n)

    if args.check_docs:
        check_docstrings(module, args.verbose)
    else:
        funcnames = find_funcnames(module)

After Change



def main(argv):
    parser = ArgumentParser(usage=__doc__.lstrip())
    parser.add_argument("module_names", metavar="SUBMODULES", default=list(PUBLIC_SUBMODULES),
                        nargs="*", help="Submodules to check (default: all public)")
    parser.add_argument("--doctests", action="store_true", help="Run also doctests")
    parser.add_argument("--verbose", action="store_true")
    args = parser.parse_args(argv)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: 9fcb5a8ef300cc14c54e9f2633142f7b5e2ca53f
Time: 2015-07-05
Author: pav@iki.fi
File Name: tools/refguide_check.py
Class Name:
Method Name: main


Project Name: batra-mlp-lab/visdial-challenge-starter-pytorch
Commit Name: 20b6e3e88cad2a2d80da778a2c991ecc4640f94d
Time: 2018-12-25
Author: karandesai281196@gmail.com
File Name: evaluate.py
Class Name:
Method Name:


Project Name: batra-mlp-lab/visdial-challenge-starter-pytorch
Commit Name: 79675e6cc1e84a12999232090d905e6af505acde
Time: 2018-12-24
Author: karandesai281196@gmail.com
File Name: train.py
Class Name:
Method Name: