diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-05-27 16:28:37 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-27 19:28:37 -0400 |
| commit | c3e638112d2a96c8d678524903f37b13c6692188 (patch) | |
| tree | c7ad24dd7eb2e71b26852dd1b563ff3a9b89508b /docs/ref/forms/api.txt | |
| parent | 21046e77734278cea871dce922220bf29aa5b7b4 (diff) | |
Corrected REPL example in forms docs for Python 3.
Diffstat (limited to 'docs/ref/forms/api.txt')
| -rw-r--r-- | docs/ref/forms/api.txt | 4 |
1 files 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: |
