Permalink
Browse files

Fixed a documentation typo on the widget page.

  • Loading branch information...
1 parent c57ba67 commit f8ef93a6576837ef3598066d6ed715171a91cd04 @tsaylor tsaylor committed with apollo13 Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/forms/widgets.txt
@@ -75,7 +75,7 @@ changing :attr:`ChoiceField.choices` will update :attr:`Select.choices`. For
example::
>>> from django import forms
- >>> CHOICES = (('1', 'First',), ('2', 'Second',)))
+ >>> CHOICES = (('1', 'First',), ('2', 'Second',))
>>> choice_field = forms.ChoiceField(widget=forms.RadioSelect, choices=CHOICES)
>>> choice_field.choices
[('1', 'First'), ('2', 'Second')]

0 comments on commit f8ef93a

Please sign in to comment.