9fcb5a8ef300cc14c54e9f2633142f7b5e2ca53f,tools/refguide_check.py,,main,#Any#,297
Before Change
parser.add_argument("--verbose", action="store_true")
args = parser.parse_args(argv)
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")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: developmentseed/label-maker
Commit Name: 4163c4eb8cffd43b05931100fa2dd807a3b19fbb
Time: 2018-01-26
Author: geospatialanalystyi@gmail.com
File Name: examples/utils/tf_records_generation.py
Class Name:
Method Name: main
Project Name: googledatalab/pydatalab
Commit Name: 2137c84c95286a1c888140cf425c27ff087271bb
Time: 2017-04-21
Author: brandondutra@google.com
File Name: solutionbox/structured_data/mltoolbox/_structured_data/preprocess/local_preprocess.py
Class Name:
Method Name: run_numerical_categorical_analysis