From 268ba38543b719ceb00fc4dbf6e6589c0217c3a3 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Mon, 13 Jul 2020 15:31:47 -0700 Subject: [PATCH] docstring update --- pyqtgraph/reload.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pyqtgraph/reload.py b/pyqtgraph/reload.py index 784559a2..7a6e9865 100644 --- a/pyqtgraph/reload.py +++ b/pyqtgraph/reload.py @@ -34,9 +34,13 @@ py3 = sys.version_info >= (3,) def reloadAll(prefix=None, debug=False): - """Automatically reload everything 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 + """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, then all loaded modules are checked. + + Returns a dictionary {moduleName: (reloaded, reason)} describing actions taken + for each module. """ failed = [] changed = []