From 075e93c16a82ba7869a0b2d572e99fdbd0724042 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 20 Mar 2017 09:42:59 -0400 Subject: Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg. --- docs/ref/forms/widgets.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/ref/forms') 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 -- cgit v1.3