Skip to content

Commit

Permalink
getting rid of docstring modification
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Oct 10, 2021
1 parent a098879 commit 1fd993e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/xgboost_distribution/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@
from xgboost_distribution.distributions import get_distribution, get_distribution_doc


def clean_model_doc():
def cleandoc(cls):
original_doc = cls.__doc__
# TODO: replace objective param description
cls.__doc__ = original_doc
return cls

return cleandoc


@clean_model_doc()
@xgboost_model_doc(
"Implementation of XGBoost to estimate distributions (in scikit-learn API).",
["estimators", "model"],
Expand Down

0 comments on commit 1fd993e

Please sign in to comment.