MCPcopy Index your code
hub / github.com/RustPython/RustPython / comment

Method comment

Lib/xml/etree/ElementTree.py:1491–1497  ·  view source on GitHub ↗

Create a comment using the comment_factory. *text* is the text of the comment.

(self, text)

Source from the content-addressed store, hash-verified

1489 return self._last
1490
1491 def comment(self, text):
1492 """Create a comment using the comment_factory.
1493
1494 *text* is the text of the comment.
1495 """
1496 return self._handle_single(
1497 self._comment_factory, self.insert_comments, text)
1498
1499 def pi(self, target, text=None):
1500 """Create a processing instruction using the pi_factory.

Callers 2

handlerMethod · 0.45

Calls 1

_handle_singleMethod · 0.95

Tested by 1