def internJID(jidstring):
 if (jidstring in __internJIDs):
  return __internJIDs[jidstring]
 else:
  j = JID(jidstring)
  __internJIDs[jidstring] = j
  return j

def internJID ( jidstring ) : if ( jidstring in __internJIDs ) : return __internJIDs [ jidstring ] else : j = JID ( jidstring ) __internJIDs [ jidstring ] = j return j
return interned jid .