code: def hex(self):
          
          addrstr = '000000'
          if self.addr is not None:
              addrstr = binascii.hexlify(self.addr).decode()
          return addrstr
docs: Emit the address in bare hex format (aabbcc).