From e6babbfe5f35dd972c185ff194c285df9e2e4a06 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 29 Nov 2006 03:18:56 +0000 Subject: [PATCH] newforms: Added docstring to Widget.build_attrs() git-svn-id: http://code.djangoproject.com/svn/django/trunk@4134 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/newforms/widgets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/newforms/widgets.py b/django/newforms/widgets.py index d0ea678df5..1e7c839969 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)