MCPcopy
hub / github.com/celery/celery / put

Method put

celery/utils/collections.py:706–709  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

704 self._extend = self.data.extend
705
706 def put(self, item):
707 # type: (Any) -> None
708 self._append(item)
709 self.maxsize and self._evict()
710
711 def extend(self, it):
712 # type: (Iterable) -> None

Callers 2

test_append_limitedMethod · 0.95
test_append_unlimitedMethod · 0.95

Calls 1

_evictMethod · 0.80

Tested by 2

test_append_limitedMethod · 0.76
test_append_unlimitedMethod · 0.76