code: def get(self, hostport):
          
          assert hostport, "hostport is required"
          assert isinstance(hostport, basestring), "hostport must be a string"
  
          if hostport not in self._peers:
              self._add(hostport)
  
          return self._peers[hostport]
docs: Get a Peer for the given destination.
  
          A new Peer is added to the peer heap and returned if one does
          not already exist for the given host-port. Otherwise, the
          existing Peer is returned.