Re: [Django] #35582: Refactors error messages in the `_dec` method to use f-strings instead of the older `%` formatting method.

6 views
Skip to first unread message

Django

unread,
Jul 7, 2024, 8:05:43 PM7/7/24
to django-...@googlegroups.com
#35582: Refactors error messages in the `_dec` method to use f-strings instead of
the older `%` formatting method.
-------------------------------------+-------------------------------------
Reporter: siama | Owner: siama
Type: | Status: assigned
Cleanup/optimization |
Component: Utilities | Version: 5.1
Severity: Normal | Resolution:
Keywords: f-strings, code | Triage Stage:
readability | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by siama):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/35582#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 7, 2024, 8:12:15 PM7/7/24
to django-...@googlegroups.com
#35582: Refactors error messages in the `_dec` method to use f-strings instead of
the older `%` formatting method.
-------------------------------------+-------------------------------------
Reporter: siama | Owner: siama
Type: | Status: closed
Cleanup/optimization |
Component: Utilities | Version: 5.1
Severity: Normal | Resolution: invalid
Keywords: f-strings, code | Triage Stage:
readability | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by siama):

* cc: siama (removed)
* resolution: => invalid
* status: assigned => closed

--
Ticket URL: <https://code.djangoproject.com/ticket/35582#comment:3>
Reply all
Reply to author
Forward
0 new messages