bd2fed768c2b32ff7812ee7297c6c70e61ae2ced,setup.py,,,#,5
Before Change
package = "{}{}".format(
main_package, dirname[start:].replace(os.sep, "."))
package_data[package].append("*{}".format(ext))
break
if ext in config_extensions:
package = "{}{}".format(
main_package, dirname[start:].replace(os.sep, "."))
package_data[package].append(filename)
After Change
package = "{}{}".format(
main_package, dirname[start:].replace(os.sep, "."))
packages.append(package)
ext_set = set()
for filename in filenames:
_, ext = os.path.splitext(filename)
if ext in data_extensions:
ext_set.add(ext)
if ext in config_extensions:
package = "{}{}".format(
main_package, dirname[start:].replace(os.sep, "."))
package_data[package].append(filename)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bd2fed768c2b32ff7812ee7297c6c70e61ae2ced
Time: 2017-09-21
Author: brenninc@cs.man.ac.uk
File Name: setup.py
Class Name:
Method Name:
Project Name: mittagessen/kraken
Commit Name: 77546b75cdac35f17f9fdd650ffb9675cf181cf5
Time: 2020-10-05
Author: mittagessen@l.unchti.me
File Name: kraken/lib/xml.py
Class Name:
Method Name: parse_alto
Project Name: RaRe-Technologies/gensim
Commit Name: 5242a3243414c77bac922140e9d9139914c78318
Time: 2017-05-23
Author: tsutsumi.yusuke@gmail.com
File Name: gensim/test/test_phrases.py
Class Name: TestPhrasesModel
Method Name: testExportPhrases