def userhostJID(self):
        if self.resource:
            return internJID(self.userhost())
        else:
            return self
Extract the bare JID.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/jid.py/JID.userhostJID