Some doc string fixes for recently merged code

This commit is contained in:
Johannes Schönberger
2015-08-20 19:08:54 -04:00
parent 236aa208fe
commit ec64872fd5
5 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -166,11 +166,11 @@ def assert_nD(array, ndim, arg_name='image'):
def _mode_deprecations(mode):
""" to be used by functions to update deprecated mode names in
"""Used to update deprecated mode names in
`skimage._shared.interpolation.pyx`."""
if mode.lower() == 'nearest':
warnings.warn(skimage_deprecation(
"Mode 'nearest' has been renamed 'edge'. Mode 'nearest' will be "
"Mode 'nearest' has been renamed to 'edge'. Mode 'nearest' will be "
"removed in a future release."))
mode = 'edge'
return mode