diff options
| author | Tim Graham <timograham@gmail.com> | 2017-03-20 09:42:59 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-21 09:14:45 -0400 |
| commit | 075e93c16a82ba7869a0b2d572e99fdbd0724042 (patch) | |
| tree | e64d97d1052396225cb21f05ef8daece4e1182fe /docs/ref/forms/widgets.txt | |
| parent | 6ff356e891502f3da20f51299f45f4b95d72edd5 (diff) | |
Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.
Diffstat (limited to 'docs/ref/forms/widgets.txt')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 219a6b7f23..9cc474aae6 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -236,7 +236,7 @@ foundation for custom widgets. isn't guaranteed to be valid input, therefore subclass implementations should program defensively. - .. method:: get_context(name, value, attrs=None) + .. method:: get_context(name, value, attrs) .. versionadded:: 1.11 @@ -377,7 +377,7 @@ foundation for custom widgets. It provides some custom context: - .. method:: get_context(name, value, attrs=None) + .. method:: get_context(name, value, attrs) In addition to the ``'widget'`` key described in :meth:`Widget.get_context`, ``MultiValueWidget`` adds a |
