Fixed typo in django/forms/widgets.py.

This commit is contained in:
vavanade 2021-12-21 09:14:58 +01:00 committed by GitHub
parent 33401cba93
commit 6045b1f041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ class ChoiceWidget(Widget):
yield from self.options(name, value, attrs)
def options(self, name, value, attrs=None):
"""Yield a flat list of options for this widgets."""
"""Yield a flat list of options for this widget."""
for group in self.optgroups(name, value, attrs):
yield from group[1]