Opened 8 years ago

Closed 8 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: UI/UX:


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 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by julien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 8 years ago by julien

comment:2 Changed 8 years ago by julien

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 8 years ago by simon

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [9005]

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