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)
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)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
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: scikit-image/scikit-image
Commit Name: ddfac3e42d2ae2e09751de6638d813c76e30ff94
Time: 2018-12-04
Author: mark.harfouche@gmail.com
File Name: tools/check_sdist.py
Class Name:
Method Name:
Project Name: rlworkgroup/garage
Commit Name: b4fb33ede61395e17cf6dad6af3afb610c56ad4d
Time: 2016-05-31
Author: dementrock@gmail.com
File Name: scripts/submit_gym.py
Class Name:
Method Name:
Project Name: dmlc/gluon-nlp
Commit Name: a08eaf2fa930d13967fd78a8ec53069394917ad3
Time: 2018-09-18
Author: chgwang@amazon.com
File Name: scripts/language_model/word_language_model.py
Class Name:
Method Name: