def _write_line(self, text='<STR_LIT>'):
if text:<EOL><INDENT>self._code += str(text) + "<STR_LIT:\n>"<EOL><DEDENT>else:<EOL><INDENT>self._code += "<STR_LIT:\n>"<EOL><DEDENT>
Writes a line with Python code to the generate code buffer.

:param str text: The line with Python code.