Lines Matching refs:str
1278 if isinstance(file, str):
1702 table = str.maketrans(illegal, '_' * len(illegal))
1812 may be either a 'str' or a 'bytes' instance; if it is a 'str',
1816 if isinstance(data, str):
1856 elif isinstance(zinfo_or_directory_name, str):
1867 raise TypeError("Expected type str or ZipInfo")
2443 >>> str(c).replace(os.sep, posixpath.sep)
2453 >>> str(root.filename).replace(os.sep, posixpath.sep)
2455 >>> str(root.parent)