original_docstring: Given a dictionary, make sure keys are unicode strings, not bytes.
docstring: Given a dictionary, make sure keys are unicode strings, not bytes.
docstring_tokens: Given a dictionary make sure keys are unicode strings not bytes .
code: def normalize_string_keys(old):
      """Given a dictionary, make sure keys are unicode strings, not bytes."""
      new = {}
      for key, value in old.items():
          if isinstance(key, bytes_):
              new[key.decode('utf8')] = value
          else:
              new[key] = value
      return new
code_tokens: def normalize_string_keys ( old ) : new = { } for key , value in old . items ( ) : if isinstance ( key , bytes_ ) : new [ key . decode ( 'utf8' ) ] = value else : new [ key ] = value return new
short_docstring: Given a dictionary, make sure keys are unicode strings, not bytes.
short_docstring_tokens: Given a dictionary make sure keys are unicode strings not bytes .
comment: """Given a dictionary, make sure keys are unicode strings, not bytes."""