Skip to content

Commit

Permalink
Fix SelectFieldBase.iter_choices docstring
Browse files Browse the repository at this point in the history
This fixes one of the out-of-date docstrings mentioned in pallets-eco#811 but not fixed in pallets-eco#812.
  • Loading branch information
alex-ball authored and azmeuk committed Nov 1, 2023
1 parent a7a87be commit 717a770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wtforms/fields/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, label=None, validators=None, option_widget=None, **kwargs):
def iter_choices(self):
"""
Provides data for choice widget rendering. Must return a sequence or
iterable of (value, label, selected) tuples.
iterable of (value, label, selected, render_kw) tuples.
"""
raise NotImplementedError()

Expand Down

0 comments on commit 717a770

Please sign in to comment.