def update(self, arg=None):
        if hasattr(arg, 'iteritems'):
            source = arg.iteritems()
        elif hasattr(arg, 'items'):
            source = arg.items()
        else:
            source = arg
        bad_key = False
        for key, message in source:
            try:
                self[key] = message
            except KeyError:
                bad_key = True
        if bad_key:
            raise KeyError('No message with key(s)')
Convert an object into an unicode instance, to be used instead of
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Mailbox.update--crossover with--dataset/ETHPy150Open sahana/eden/static/scripts/tools/csv2xml.py/s3_unicode