(
			dot: AnyStr,
			directory: ty.Union[AnyStr, int],
			follow_symlinks: bool
	)
Return a four-part tuple just like os.fwalk does, even if we won't use os.fwalk.

		The directory file descriptor will be None when os.fwalk is not used.
Return a four-part tuple just like os.fwalk does, even if we won't use os.fwalk.
Return a four - part tuple just like os . fwalk does even if we won t use os . fwalk .
def _walk_wide(
			dot: AnyStr,
			directory: ty.Union[AnyStr, int],
			follow_symlinks: bool
	) -> ty.Generator[
			ty.Tuple[AnyStr, ty.List[AnyStr], ty.List[AnyStr], ty.Optional[int]],
			ty.Any,
			None
	]:
		"""
		Return a four-part tuple just like os.fwalk does, even if we won't use os.fwalk.

		The directory file descriptor will be None when os.fwalk is not used.
		"""

		if isinstance(directory, int):
			yield from os.fwalk(dot, dir_fd=directory, follow_symlinks=follow_symlinks)
		else:
			for dir_path, dir_names, file_names in os.walk(directory, followlinks=follow_symlinks):
				yield dir_path, dir_names, file_names, None
def _walk_wide ( dot : AnyStr , directory : ty . Union [ AnyStr , int ] , follow_symlinks : bool ) -> ty . Generator [ ty . Tuple [ AnyStr , ty . List [ AnyStr ] , ty . List [ AnyStr ] , ty . Optional [ int ] ] , ty . Any , None ] : if isinstance ( directory , int ) : yield from os . fwalk ( dot , dir_fd = directory , follow_symlinks = follow_symlinks ) else : for dir_path , dir_names , file_names in os . walk ( directory , followlinks = follow_symlinks ) : yield dir_path , dir_names , file_names , None