update docstring

This commit is contained in:
iLLiCiTiT 2022-01-06 15:17:18 +01:00
parent abc39a9e9f
commit 3f5b041619

View file

@ -49,13 +49,10 @@ def modules_from_path(folder_path):
Arguments:
path (str): Path to folder containing python scripts.
return_crasher (bool): Crashed module paths with exception info
will be returned too.
Returns:
list, tuple: List of modules when `return_crashed` is False else tuple
with list of modules at first place and tuple of path and exception
info at second place.
tuple<list, list>: First list contains successfully imported modules
and second list contains tuples of path and exception.
"""
crashed = []
modules = []