5bfd14da25c8e55ed9294cdbcb7a3272ef9d0b54,dm_control/autowrap/c_declarations.py,Function,ctypes_func_decl,#Function#Any#,357

Before Change


      s += "\n"
      with indent:
        with indent:
          s += ",\n".join(indent(a.arg) for a in six.itervalues(self.arguments))
      s += "\n"
    else:
      s += ", ".join(indent(a.arg) for a in six.itervalues(self.arguments))
    s += "]\n"

After Change


        with indent:
          lines.extend(indent(a.arg + ",")
                       for a in six.itervalues(self.arguments))
      lines.append("]")
    else:
      lines.append("{0}.{1}.argtypes = None".format(cdll_name, self.name))
    if self.return_value:
      lines.append("{0}.{1}.restype = {2}".format(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepmind/dm_control
Commit Name: 5bfd14da25c8e55ed9294cdbcb7a3272ef9d0b54
Time: 2018-10-10
Author: alimuldal@google.com
File Name: dm_control/autowrap/c_declarations.py
Class Name: Function
Method Name: ctypes_func_decl


Project Name: brian-team/brian2
Commit Name: 01431e99bcdbd2265ad01435b7e9b98a8dac690d
Time: 2013-06-09
Author: marcel.stimberg@ens.fr
File Name: brian2/synapses/synapses.py
Class Name: Synapses
Method Name: __init__


Project Name: deeptools/HiCExplorer
Commit Name: 912fe1e2bbceeef9a33181f9fb151bbd485d9e15
Time: 2018-01-29
Author: fidel.ramirez@gmail.com
File Name: hicexplorer/hicPlotMatrix.py
Class Name:
Method Name: plotHeatmap