MCPcopy Index your code
hub / github.com/aws/aws-cli / writeln

Method writeln

awscli/bcdoc/restdoc.py:45–49  ·  view source on GitHub ↗

Write content on a newline.

(self, content)

Source from the content-addressed store, hash-verified

43 self._write(content)
44
45 def writeln(self, content):
46 """
47 Write content on a newline.
48 """
49 self._write('%s%s\n' % (self.style.spaces(), content))
50
51 def peek_write(self):
52 """

Callers 15

test_writelnMethod · 0.95
test_writelnMethod · 0.95
write_from_fileMethod · 0.95
test_flush_structureMethod · 0.45
test_flush_structureMethod · 0.45
doc_breadcrumbsMethod · 0.45
doc_titleMethod · 0.45

Calls 2

_writeMethod · 0.95
spacesMethod · 0.45

Tested by 9

test_writelnMethod · 0.76
test_writelnMethod · 0.76
test_flush_structureMethod · 0.36
test_flush_structureMethod · 0.36