Opened 20 years ago
Closed 20 years ago
#592 closed defect (invalid)
Error in tutorial 2
| Reported by: | Peter van Kampen | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
There's a comma too many in the example-code for adjusting the order. The last comma should go.
admin = meta.Admin(
fields = (
(None, {'fields': ('pub_date', 'question')}),
),
)
Attachments (1)
Change History (2)
comment:1 by , 20 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Looks OK to me -- Python allows a trailing comma like that.