MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / full

Method full

tools/python-3.11.9-amd64/Lib/asyncio/queues.py:99–108  ·  view source on GitHub ↗

Return True if there are maxsize items in the queue. Note: if the Queue was initialized with maxsize=0 (the default), then full() is never True.

(self)

Source from the content-addressed store, hash-verified

97 return not self._queue
98
99 def full(self):
100 """Return True if there are maxsize items in the queue.
101
102 Note: if the Queue was initialized with maxsize=0 (the default),
103 then full() is never True.
104 """
105 if self._maxsize <= 0:
106 return False
107 else:
108 return self.qsize() >= self._maxsize
109
110 async def put(self, item):
111 """Put an item into the queue.

Callers 3

putMethod · 0.95
put_nowaitMethod · 0.95

Calls 1

qsizeMethod · 0.95

Tested by

no test coverage detected