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:33:59 -0400 |
| commit | 757aefc12b79bac1bab730ac465fbfd3f810b61d (patch) | |
| tree | 94abd1c3714231d295fbf73612f5f56e5a54c066 /docs/ref/forms | |
| parent | 875aebdb2c7c26b29b52a2114b4e1a80f6809496 (diff) | |
Removed self from method signatures in docs.
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 e4630a468b..219a6b7f23 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -258,7 +258,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. |
