iter_modules_and_files
Iterate through all modules needed to be watched.
def iter_modules_and_files(
modules: iterable,
extra_files: iterable
) - > frozenset
Iterate through all modules needed to be watched.
Parameters
| Name | Type | Description |
|---|---|---|
| modules | iterable | A collection of module objects to be scanned for source file locations, handling special cases like main and zip imports. |
| extra_files | iterable | A collection of additional file paths or strings to be included in the resulting set of watched locations. |
Returns
| Type | Description |
|---|---|
frozenset | A set of absolute, resolved Path objects representing the unique file system locations of the provided modules and extra files. |