4468f0ffc9a980dfec5c1ae64d8d4cb6f94a0a7c,pymc/model.py,,Point,#,122
Before Change
*args, **kwargs
arguments to build a dict
if "model" in kwargs:
model = kwargs["model"]
del kwargs["model"]
else:
model = Model.get_context()
try:
d = dict(*args, **kwargs)
except Exception as e:
raise TypeError(
After Change
arguments to build a dict
model = modelcontext(kwargs.get("model"))
kwargs.pop("model", None)
try:
d = dict(*args, **kwargs)
except Exception as e:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: pymc-devs/pymc3
Commit Name: 4468f0ffc9a980dfec5c1ae64d8d4cb6f94a0a7c
Time: 2013-08-24
Author: jsalvatier@gmail.com
File Name: pymc/model.py
Class Name:
Method Name: Point
Project Name: sahana/eden
Commit Name: 208e1c78399fd67ae75537489c8206943c523c52
Time: 2018-03-15
Author: dominic@nursix.org
File Name: modules/s3/s3fields.py
Class Name: S3ReusableField
Method Name: __call__
Project Name: eth-cscs/reframe
Commit Name: b817ad7232b542afd9fe258a85f7a059322dd8a1
Time: 2020-11-25
Author: karakasis@cscs.ch
File Name: reframe/utility/jsonext.py
Class Name: _ReframeJsonDecoder
Method Name: __init__