Opened 68 minutes ago

Last modified 48 minutes ago

#37475 assigned Uncategorized

Tutorial part 4, explicit list for reverse() args

Reported by: Julien Vallet Owned by: Julien Vallet
Component: Documentation Version: 6.1
Severity: Low Keywords: tutorial
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The current version (​https://github.com/django/django/blob/main/docs/intro/tutorial04.txt#L106) is creating an implicit list by using a trailing comma. I suggest to use an explicit list instead to both be inline with the documentation and avoid user error/confusion.

I already have a pull request to address this issue (​https://github.com/django/django/pull/22246).

Change History (1)

comment:1 by Julien Vallet, 48 minutes ago

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