code: def full(self):
          
          if self._parent._maxsize <= 0:
              return False
          else:
              return self.qsize() >= self._parent._maxsize
docs: 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.