#NEWLINE# def unbind( self , source , routing_key = None ) : #NEWLINE# #INDENT# 'Unbind queue from the specified exchange where it is bound the\n        routing key. If routing key is None, use the queue name.\n\n        :type source: str or :py:class:`rabbitpy.exchange.Exchange` exchange\n        :param source: The exchange to unbind from\n        :param str routing_key: The routing key that binds them\n\n        ' #NEWLINE# if hasattr ( routing_key , 'name' ) : #NEWLINE# #INDENT# source = source . name #NEWLINE# #UNINDENT# routing_key = ( routing_key or self . name ) #NEWLINE# self . _rpc ( specification . Queue . Unbind ( queue = self . name , exchange = source , routing_key = routing_key ) )