Opened 14 years ago

Closed 14 years ago

#8480 closed (fixed)

Minor error in Database Api document reverse() function explanation seq[:-5] should be seq[-5:]

Reported by: pierreR Owned by: nobody
Component: Documentation Version:
Severity: Keywords: reverse
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In Database Api document (


New in Django development version

Use the reverse()......

seq[:-5], would see the fifth-last item first...."

seq[:-5] should be seq[-5:]

Attachments (1)

8440.typo.diff (715 bytes) - added by Julien Phalip 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by Julien Phalip

Triage Stage: UnreviewedAccepted

Thanks for the report. In the future, when you spot such a trivial bug/typo, please submit a patch as well, as it is much quicker for the core devs to check it in ;)

Changed 14 years ago by Julien Phalip

Attachment: 8440.typo.diff added

comment:2 Changed 14 years ago by Julien Phalip

Hmmmm... well, in this case it might just be as easy for the committers to modify the file themselves, so forget about what I just said ;)

comment:3 Changed 14 years ago by simon

Resolution: fixed
Status: newclosed

Fixed in [9005]

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