in sparkey/__init__.py [0:0]
def _to_bytes(s, name): t = type(s) if t != str and t != future.types.newstr: raise SparkeyException(name + " must be a string") return s