diff --git a/src/wtforms/widgets/core.py b/src/wtforms/widgets/core.py index bfa3c0e13..0acf9d1e1 100644 --- a/src/wtforms/widgets/core.py +++ b/src/wtforms/widgets/core.py @@ -387,7 +387,7 @@ def __call__(self, field, **kwargs): val, label, selected, render_kw = choice else: warnings.warn( - "'iter_groups' is expected to return 4 items tuple since " + "'iter_choices' is expected to return 4 items tuple since " "wtforms 3.1, this will be mandatory in wtforms 3.2", DeprecationWarning, stacklevel=2,