#NEWLINE# def bind( self , addrport ) : #NEWLINE# #INDENT# if ( addr . _proto == RFCOMM ) : #NEWLINE# #INDENT# ( addr , port ) = addrport #NEWLINE# if ( port == 0 ) : #NEWLINE# #INDENT# port = bt . BT_PORT_ANY #NEWLINE# #UNINDENT# status = bt . bind ( self . _sockfd , addr , port )