MCPcopy Index your code
hub / github.com/python/cpython / _write_docstring

Method _write_docstring

Lib/_ast_unparse.py:687–691  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

685 self.write(node.id)
686
687 def _write_docstring(self, node):
688 self.fill(allow_semicolon=False)
689 if node.kind == "u":
690 self.write("u")
691 self._write_str_avoiding_backslashes(node.value, quote_types=_MULTI_QUOTES)
692
693 def _write_constant(self, value):
694 if isinstance(value, (float, complex)):

Callers 1

Calls 3

fillMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected