Skip to content

Commit

Permalink
fixed issue with docval that was preventing module-level functions fr…
Browse files Browse the repository at this point in the history
…om being documented
  • Loading branch information
ajtritt committed May 9, 2017
1 parent 44ab0ff commit c473c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/form/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def func_call(*args, **kwargs):
#TODO: make sure this is okay --
setattr(func_call, '__name__', func.__name__)
setattr(func_call, docval_attr_name, _docval)
setattr(func_call, '__module__', func.__module__)
return func_call
return dec

Expand Down

0 comments on commit c473c95

Please sign in to comment.