Skip to content

Commit 180ecc7

Browse files
authored
Merge pull request #857 from azmeuk/issue-845-typo
warning typo fix
2 parents c393b48 + 51440e0 commit 180ecc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wtforms/widgets/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def __call__(self, field, **kwargs):
387387
val, label, selected, render_kw = choice
388388
else:
389389
warnings.warn(
390-
"'iter_groups' is expected to return 4 items tuple since "
390+
"'iter_choices' is expected to return 4 items tuple since "
391391
"wtforms 3.1, this will be mandatory in wtforms 3.2",
392392
DeprecationWarning,
393393
stacklevel=2,

0 commit comments

Comments
 (0)