Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27cbd34

Browse filesBrowse files
committed
Expand docstring to explain return value.
1 parent acbbfff commit 27cbd34
Copy full SHA for 27cbd34

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎lib/matplotlib/testing/decorators.py

Copy file name to clipboardExpand all lines: lib/matplotlib/testing/decorators.py
+3-1Lines changed: 3 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.