301a302,303 > if isinstance(s, bytes): > s = s.decode(encoding or 'utf-8')