Skip to content

Commit 27cbd34

Browse files
committed
Expand docstring to explain return value.
1 parent acbbfff commit 27cbd34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: lib/matplotlib/testing/decorators.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,9 @@ def _image_directories(func):
364364

365365
import imp
366366
def find_dotted_module(module_name, path=None):
367-
"""A version of imp which can handle dots in the module name"""
367+
"""A version of imp which can handle dots in the module name.
368+
As for imp.find_module(), the return value is a 3-element
369+
tuple (file, pathname, description)."""
368370
res = None
369371
for sub_mod in module_name.split('.'):
370372
try:

0 commit comments

Comments
 (0)