MCPcopy Create free account
hub / github.com/celery/celery / put

Method put

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

Source from the content-addressed store, hash-verified

767 self._extend = self.data.extend
768
769 def put(self, item):
770 # type: (Any) -> None
771 self._append(item)
772 self.maxsize and self._evict()
773
774 def extend(self, it):
775 # 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