From 332c21f97936baab6901fccb3b6d28eaee83729c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Tue, 12 Mar 2013 07:29:39 +0100 Subject: [PATCH] Make deprecation warning in doc string bold --- skimage/_shared/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/_shared/utils.py b/skimage/_shared/utils.py index fc13c7e6..acdf9c16 100644 --- a/skimage/_shared/utils.py +++ b/skimage/_shared/utils.py @@ -44,7 +44,7 @@ class deprecated(object): return func(*args, **kwargs) # modify doc string to display deprecation warning - doc = 'Deprecated function.' + alt_msg + doc = '**Deprecated function**.' + alt_msg if wrapped.__doc__ is None: wrapped.__doc__ = doc else: