code: def decode(cls, string, errors='strict'):
          
          if errors != 'strict':
              raise UnicodeError('Unsupported error handling {0}'.format(errors))
  
          unicode_string = cls._ensure_unicode_string(string)
          decoded = unicode_string.translate(cls._decoding_table)
          return decoded, len(string)
docs: Return the decoded version of a string.
  
          :param string:
              The input string to decode.
          :type string:
              `basestring`
  
          :param errors:
              The error handling scheme. Only 'strict' is supported.
          :type errors:
              `basestring`
  
          :return:
              Tuple of decoded string and number of input bytes consumed.
          :rtype:
              `tuple` (`unicode`, `int`)