Skip to content
Snippets Groups Projects
Commit 8345a2e2 authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Improve _complex_masking_only decorator to avoid a documentation bug

parent 0b09a453
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -95,6 +95,7 @@ def _complex_masking_only(f):
errmsg = 'Method not defined if masking is not complex.'
raise ValueError(errmsg)
return f(self)
decorated.__doc__ = f.__doc__
return decorated
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment