diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2017-03-17 00:33:59 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-16 20:34:15 -0400 |
| commit | d8039dfb0a228eb905fc405c4669b55e76d9ba53 (patch) | |
| tree | 0b289a9ffb5867f39bbefef8fa0ae592278523f5 /docs/ref/forms | |
| parent | 8d5bccfe762047cc550788708322d0872a9038d4 (diff) | |
[1.11.x] Removed self from method signatures in docs.
Backport of 757aefc12b79bac1bab730ac465fbfd3f810b61d from master
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index b5d4fc3d5d..c17877545b 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -263,7 +263,7 @@ foundation for custom widgets. ``Widget`` subclasses can provide custom context values by overriding this method. - .. method:: id_for_label(self, id_) + .. method:: id_for_label(id_) Returns the HTML ID attribute of this widget for use by a ``<label>``, given the ID of the field. Returns ``None`` if an ID isn't available. |
