1d480353b5716263b9fb6133f5a2446625e8f6bd,dev/tools/static_codegen/units_template.py,,,#,83
Before Change
Unit.automatically_register_units = True
map(standard_unit_register.add, powered_units + scaled_units + base_units)
map(additional_unit_register.add, additional_units)
After Change
Unit.automatically_register_units = True
for unit in itertools.chain(powered_units, scaled_units, base_units):
standard_unit_register.add(unit)
for unit in additional_units:
additional_unit_register.add(unit)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: brian-team/brian2
Commit Name: 1d480353b5716263b9fb6133f5a2446625e8f6bd
Time: 2019-04-23
Author: marcel.stimberg@inserm.fr
File Name: dev/tools/static_codegen/units_template.py
Class Name:
Method Name:
Project Name: brian-team/brian2
Commit Name: 4d52db78c8c81d354567b9b4b0cb4916eb543d3f
Time: 2019-04-23
Author: marcel.stimberg@inserm.fr
File Name: brian2/units/allunits.py
Class Name:
Method Name:
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 20d1da406aaa2ae2a32c48a28e3efe4f475d7398
Time: 2018-01-06
Author: max.lapan@gmail.com
File Name: ch12/libbots/subtitles.py
Class Name:
Method Name: phrase_pairs_dict