That's already done. See the docstring for DecisionTreeClassifier and DecisionTreeRegressor where all the parameters are documented.