From 8f89852e054e5a47539f75664e42ddfb829b4776 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 12 Dec 2014 19:44:40 -0600 Subject: [PATCH] Improved docstring --- skimage/external/tifffile/tifffile_local.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/skimage/external/tifffile/tifffile_local.py b/skimage/external/tifffile/tifffile_local.py index 1468abd6..35c826ad 100644 --- a/skimage/external/tifffile/tifffile_local.py +++ b/skimage/external/tifffile/tifffile_local.py @@ -3081,7 +3081,11 @@ def imagej_description(description): def _replace_by(module_function, package=None, warn=False): - """Try replace decorated function by module.function.""" + """Try replace decorated function by module.function. + + This is used to replace local functions with functions from another + (usually compiled) module, if available. + """ def decorate(func, module_function=module_function, warn=warn): try: modname, function = module_function.split('.')