From 6045b1f04196bcf51ef915ce8d35addd1bd0bcc1 Mon Sep 17 00:00:00 2001 From: vavanade Date: Tue, 21 Dec 2021 09:14:58 +0100 Subject: [PATCH] Fixed typo in django/forms/widgets.py. --- django/forms/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 386b0e7c3f..cb8fb5e92a 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -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]