u'''ring the bell if requested.

def _bell(self):
        u'''ring the bell if requested.'''
        if self.bell_style == u'none':
            pass
        elif self.bell_style == u'visible':
            raise NotImplementedError(u"Bellstyle visible is not implemented yet.")
        elif self.bell_style == u'audible':
            self.console.bell()
        else:
            raise ReadlineError(u"Bellstyle %s unknown."%self.bell_style)