Skip to content

Commit be1a6de

Browse files
committed
Add some docstrings
1 parent f74ad98 commit be1a6de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ def readline(self):
208208

209209

210210
class ImportLoader:
211+
"""Wrapper for module loaders to watch their paths with watchdog."""
212+
211213
def __init__(self, watcher, loader):
212214
self.watcher = watcher
213215
self.loader = loader
@@ -236,6 +238,8 @@ def _load_module(self, name):
236238

237239

238240
class ImportFinder:
241+
"""Wrapper for finders in sys.meta_path to replace wrap all loaders with ImportLoader."""
242+
239243
def __init__(self, finder, watcher):
240244
self.watcher = watcher
241245
self.finder = finder

0 commit comments

Comments
 (0)