def method_doc(self,params_match,current_line):
        params = [p.strip() for p in params_match.group(1).split(',') if len(p.strip()) > 0]
        indent = self.get_indent(current_line)
        lines = []
        lines.append(indent + "# Public: Duplicate some text an arbitrary number of times.")
        lines.append(indent + "#")
        for param in params:
          lines.append((indent, param) % "%s# %s -")
        if len(params) > 0:
          lines.append(indent + "#")
        lines.append(indent + "# Returns the duplicated String.")
        return "\r\n" + "\r\n".join(lines)


    # Returns skeleton for Class/Module
dataset/ETHPy150Open shell/sublime-tomdoc/tomdoc.py/TomdocCommand.method_doc/swapped operands of `%`