Searched refs:bytes_input (Results 1 – 2 of 2) sorted by relevance
564 def to_string(bytes_input): argument565 if isinstance(bytes_input, str):566 return bytes_input567 return bytes_input.encode('utf-8')570 def convert_string(bytes_input): argument572 return to_string(bytes_input.decode('utf-8'))574 return str(bytes_input)576 return str(bytes_input)
186 bytes_input = b'test_dir'188 list(pkgutil.walk_packages(bytes_input))