Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.

This commit is contained in:
Tim Graham 2017-03-20 09:42:59 -04:00
parent 6ff356e891
commit 075e93c16a
2 changed files with 11 additions and 11 deletions

View file

@ -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