Corrected REPL example in forms docs for Python 3.

This commit is contained in:
Jon Dufresne 2017-05-27 16:28:37 -07:00 committed by Tim Graham
parent 21046e7773
commit c3e638112d
1 changed files with 2 additions and 2 deletions

View File

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