Skip to content

Commit 051cd1e

Browse files
committed
Fix docstrings
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 31d1a8f commit 051cd1e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Lib/importlib/abc.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ def invalidate_caches(self):
4646
"""
4747

4848
def discover(self, parent=None):
49-
"""An optional method which searches for possible specs with given *parent*.
50-
If *parent* is *None*, MetaPathFinder.discover will search for top-level modules.
49+
"""An optional method which searches for possible specs with given *parent*
50+
module spec. If *parent* is *None*, MetaPathFinder.discover will search
51+
for top-level modules.
5152
5253
Returns an iterable of possible specs.
5354
"""
@@ -68,8 +69,9 @@ def invalidate_caches(self):
6869
"""
6970

7071
def discover(self, parent=None):
71-
"""An optional method which searches for possible specs with given *parent*.
72-
If *parent* is *None*, PathEntryFinder.discover will search for top-level modules.
72+
"""An optional method which searches for possible specs with given
73+
*parent* module spec. If *parent* is *None*, PathEntryFinder.discover
74+
will search for top-level modules.
7375
7476
Returns an iterable of possible specs.
7577
"""

0 commit comments

Comments
 (0)