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

Method del_comment

box/box.py:943–945  ·  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

941 _comments.set_comment(self, key, text, position)
942
943 def del_comment(self, key: Any = None) -> None:
944 """Remove every comment of `key` (``None``: the document comments)."""
945 _comments.del_comment(self, key)
946
947 def __getstate__(self):
948 # 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