diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index c308b0c170..666780bc5d 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -813,8 +813,11 @@ Composite widgets field1 = forms.DateField(widget=SelectDateWidget(empty_label="Nothing")) # A custom empty label with tuple - field1 = forms.DateField(widget=SelectDateWidget( - empty_label=("Choose Year", "Choose Month", "Choose Day")) + field1 = forms.DateField( + widget=SelectDateWidget( + empty_label=("Choose Year", "Choose Month", "Choose Day"), + ), + ) .. versionchanged:: 1.9