def writeln(self, string=''):
    """
    Generate a line of Python code.

    Args:
      string Line of code (without the terminating newline character)
    """
    self.write(string % '\n')
dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/PythonCodeGenerator.writeln/operator `+` -> `%`