1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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

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]