parameters: (self, name, feature)
return_statement: return self._bind(feature, jid)
docstring: Create a fresh binding.
docstring_summary: Create a fresh binding.
docstring_tokens: Create a fresh binding .
function: def bind(self, name, feature):
          """Create a fresh binding."""
  
          resource = '%s-%d' % (name or 'Resource', random.getrandbits(32))
          jid = xml.jid(feature.authJID, resource=md5(resource))
          return self._bind(feature, jid)
function_tokens: def bind ( self , name , feature ) : resource = '%s-%d' % ( name or 'Resource' , random . getrandbits ( 32 ) ) jid = xml . jid ( feature . authJID , resource = md5 ( resource ) ) return self . _bind ( feature , jid )