code: def qsize(self, qname):
          
          if qname in self._queues:
              return self._queues[qname].qsize()
          else:
              raise ValueError(_("queue %s is not defined"), qname)
docs: Return the approximate size of the queue.