docstring update
This commit is contained in:
parent
5723853308
commit
268ba38543
@ -34,9 +34,13 @@ py3 = sys.version_info >= (3,)
|
|||||||
|
|
||||||
|
|
||||||
def reloadAll(prefix=None, debug=False):
|
def reloadAll(prefix=None, debug=False):
|
||||||
"""Automatically reload everything whose __file__ begins with prefix.
|
"""Automatically reload all modules whose __file__ begins with *prefix*.
|
||||||
- Skips reload if the file has not been updated (if .pyc is newer than .py)
|
|
||||||
- if prefix is None, checks all loaded modules
|
Skips reload if the file has not been updated (if .pyc is newer than .py)
|
||||||
|
If *prefix* is None, then all loaded modules are checked.
|
||||||
|
|
||||||
|
Returns a dictionary {moduleName: (reloaded, reason)} describing actions taken
|
||||||
|
for each module.
|
||||||
"""
|
"""
|
||||||
failed = []
|
failed = []
|
||||||
changed = []
|
changed = []
|
||||||
|
Loading…
Reference in New Issue
Block a user