Opened 14 years ago

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

Attachments (1)

patch.592 (1.1 KB) - added by Peter van Kampen 14 years ago.
Removes the comma's

Download all attachments as: .zip

Change History (2)

comment:1 Changed 14 years ago by Adrian Holovaty

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

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

Changed 14 years ago by Peter van Kampen

Attachment: patch.592 added

Removes the comma's

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