Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

newforms: Added docstring to Widget.build_attrs()

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e6babbfe5f35dd972c185ff194c285df9e2e4a06 1 parent 4db61fb
Adrian Holovaty authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/newforms/widgets.py
1  django/newforms/widgets.py
@@ -30,6 +30,7 @@ def render(self, name, value):
30 30
         raise NotImplementedError
31 31
 
32 32
     def build_attrs(self, extra_attrs=None, **kwargs):
  33
+        "Helper function for building an attribute dictionary."
33 34
         attrs = dict(self.attrs, **kwargs)
34 35
         if extra_attrs:
35 36
             attrs.update(extra_attrs)

0 notes on commit e6babbf

Please sign in to comment.
Something went wrong with that request. Please try again.