Skip to content

Commit

Permalink
Cannot use bare deprecated decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Feb 4, 2015
1 parent cd0a648 commit 85a68cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skimage/filter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
(restoration.denoise_tv_chambolle)

# Backward compatibility v<0.11
@deprecated
@deprecated()
def canny(*args, **kwargs):
# Hack to avoid circular import
from skimage.feature._canny import canny as canny_
Expand Down
2 changes: 1 addition & 1 deletion skimage/filters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
(restoration.denoise_tv_chambolle)

# Backward compatibility v<0.11
@deprecated
@deprecated()
def canny(*args, **kwargs):
# Hack to avoid circular import
from ..feature._canny import canny as canny_
Expand Down

0 comments on commit 85a68cf

Please sign in to comment.