Opened 19 years ago

Closed 19 years ago

#592 closed defect (invalid)

Error in tutorial 2 — at Version 1

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 Adrian Holovaty)

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')}),
    ),
)

Change History (2)

comment:1 by Adrian Holovaty, 19 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

Looks OK to me -- Python allows a trailing comma like that.

by Peter van Kampen, 19 years ago

Attachment: patch.592 added

Removes the comma's

Note: See TracTickets for help on using tickets.
Back to Top