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