b69c5b6bb1ad6c59de357b5a8729719b6fd3b749,reframe/core/debug.py,,repr,#Any#Any#Any#,30
Before Change
for attr, val in sorted(obj.__dict__.items())]
repr_fmt = "%(module_name)s.%(class_name)s(%(attr_repr)s)@0x%(addr)x"
ret = repr_fmt % {
"module_name": obj.__module__,
"class_name": type(obj).__name__,
"attr_repr": ",\n".join(attr_list),
"addr": id(obj)
}
_decrease_indent()
return ret
After Change
ret = repr_fmt.format(module_name=obj.__module__,
class_name=type(obj).__name__,
attr_repr=", ".join(attr_list),
addr=id(obj) )
_decrease_indent()
return ret
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: eth-cscs/reframe
Commit Name: b69c5b6bb1ad6c59de357b5a8729719b6fd3b749
Time: 2017-12-07
Author: karakasis@cscs.ch
File Name: reframe/core/debug.py
Class Name:
Method Name: repr
Project Name: comic/grand-challenge.org
Commit Name: e7f8e6d55e99e629a2ff17400d5e525c951ce69f
Time: 2012-10-26
Author: alexander.koehn@mevis.fraunhofer.de
File Name: django/comicsite/templatetags/template_tags.py
Class Name: VisualizationNode
Method Name: render
Project Name: comic/grand-challenge.org
Commit Name: 2f54733cb71edcf21666d5be7805359dd911ecec
Time: 2012-10-26
Author: alexander.koehn@mevis.fraunhofer.de
File Name: django/comicsite/templatetags/template_tags.py
Class Name: VisualizationNode
Method Name: render