772279cf9e887cf66d9812b0fcb8b51ce3556d6d,statsmodels/tools/testing.py,Holder,__repr__,#Holder#,60
Before Change
return ss
def __repr__(self):
ss = str(self.__class__) + "\n" + self.__str__()
return ss
// adjusted functions
After Change
def __repr__(self):
// use repr for values including nested cases as in tost
ss = "\n".join(str(k) + " = " + repr(v).replace("\n", "\n ")
for k, v in vars(self).items())
ss = str(self.__class__) + "\n" + ss
return ss
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: statsmodels/statsmodels
Commit Name: 772279cf9e887cf66d9812b0fcb8b51ce3556d6d
Time: 2020-08-31
Author: josef.pktd@gmail.com
File Name: statsmodels/tools/testing.py
Class Name: Holder
Method Name: __repr__
Project Name: pgmpy/pgmpy
Commit Name: c1ec56706575c1e430d8f3173a1dd1ad521d02c0
Time: 2014-12-23
Author: abinash.panda.ece10@itbhu.ac.in
File Name: pgmpy/independencies/Independencies.py
Class Name: Independencies
Method Name: __str__
Project Name: brian-team/brian2
Commit Name: e660b6f686fccd6e7ea5ed2ffdec7901ae0f26a5
Time: 2012-11-08
Author: marcel.stimberg@ens.fr
File Name: brian2/units/fundamentalunits.py
Class Name: DimensionMismatchError
Method Name: __repr__