From c3e638112d2a96c8d678524903f37b13c6692188 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 27 May 2017 16:28:37 -0700 Subject: [PATCH] Corrected REPL example in forms docs for Python 3. --- docs/ref/forms/api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 72ae044090..e68222f977 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -1215,8 +1215,8 @@ by setting the name of the field to ``None`` on the subclass. For example:: >>> class ChildForm(ParentForm): ... name = None - >>> ChildForm().fields.keys() - ... ['age'] + >>> list(ChildForm().fields) + ['age'] .. _form-prefix: