diff --git a/django/newforms/widgets.py b/django/newforms/widgets.py index d0ea678df52..1e7c8399691 100644 --- a/django/newforms/widgets.py +++ b/django/newforms/widgets.py @@ -30,6 +30,7 @@ class Widget(object): raise NotImplementedError def build_attrs(self, extra_attrs=None, **kwargs): + "Helper function for building an attribute dictionary." attrs = dict(self.attrs, **kwargs) if extra_attrs: attrs.update(extra_attrs)