MCPcopy Create free account
hub / github.com/cdgriffith/Box / del_comment

Method del_comment

box/box.py:937–939  ·  view source on GitHub ↗

Remove every comment of `key` (``None``: the document comments).

(self, key: Any = None)

Source from the content-addressed store, hash-verified

935 _comments.set_comment(self, key, text, position)
936
937 def del_comment(self, key: Any = None) -> None:
938 """Remove every comment of `key` (``None``: the document comments)."""
939 _comments.del_comment(self, key)
940
941 def __getstate__(self):
942 # Ephemeral-child bookkeeping (a reference to the parent) must never be pickled

Callers 7

test_set_get_deleteMethod · 0.95
test_frozenMethod · 0.45
test_audit_sync.pyFile · 0.45
del_commentMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_set_get_deleteMethod · 0.76
test_frozenMethod · 0.36