Random Forest wrong annotation

I was trying to run SKRandomForestClassifier with the hyperparameter min_weight_fration_leaf = 0.6 and according with the annotation the range is [0, 1) and then it crashes and throw an sklearn error that says ValueError: min_weight_fraction_leaf must in [0, 0.5]. Also, I noticed that there is the other hyperparameter with the same issue like min_sample_leaf.