ae2d628c1437e5cf47211b964fb4039ecb456d46,dm_control/autowrap/c_declarations.py,Struct,wrapper_class,#Struct#,120

Before Change


      \"\"\"{0.docstring:}\"\"\"
    .format(self))
    with indent:
      s += "".join(indent(m.getters_setters)
                   for m in six.itervalues(self.members))
    return s

  @property
  def getters_setters(self):

After Change


      \"\"\"{0.docstring:}\"\"\"
    .format(self))
    with indent:
      for member in six.itervalues(self.members):
        if isinstance(member, AnonymousUnion):
          for submember in six.itervalues(member.members):
            s += indent(submember.getters_setters)
        else:
          s += indent(member.getters_setters)
    return s

  @property
  def getters_setters(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: deepmind/dm_control
Commit Name: ae2d628c1437e5cf47211b964fb4039ecb456d46
Time: 2018-10-15
Author: alimuldal@google.com
File Name: dm_control/autowrap/c_declarations.py
Class Name: Struct
Method Name: wrapper_class


Project Name: catalyst-team/catalyst
Commit Name: 021b07ba9751b9eb817e6b9e203612abf5a9ce18
Time: 2019-11-10
Author: alex.gaziev@gmail.com
File Name: catalyst/dl/experiment/config.py
Class Name: ConfigExperiment
Method Name: get_callbacks


Project Name: deepmind/dm_control
Commit Name: ae2d628c1437e5cf47211b964fb4039ecb456d46
Time: 2018-10-15
Author: alimuldal@google.com
File Name: dm_control/autowrap/c_declarations.py
Class Name: Struct
Method Name: wrapper_class


Project Name: ncullen93/torchsample
Commit Name: afaf4383126b25be6ed427c0f3626ae09ae35b45
Time: 2017-04-23
Author: ncullen@Nicks-MacBook-Pro.local
File Name: torchsample/utils.py
Class Name:
Method Name: th_meshgrid