[Django] #33883: refactor: use f-strings

5 views
Skip to first unread message

Django

unread,
Aug 1, 2022, 1:21:17 PM8/1/22
to django-...@googlegroups.com
#33883: refactor: use f-strings
-------------------------------------+-------------------------------------
Reporter: Alex- | Owner: nobody
CodeLab |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 4.0
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
replace old style formatting with f-strings
in `expressions.py`

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

Django

unread,
Aug 1, 2022, 1:32:49 PM8/1/22
to django-...@googlegroups.com
#33883: refactor: use f-strings
-------------------------------------+-------------------------------------
Reporter: Alex-CodeLab | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => wontfix


Comment:

Thanks for this patch, however we don't see anything wrong in using
`%`-formatting as described in
[https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
/coding-style/#python-style Python coding style].

--
Ticket URL: <https://code.djangoproject.com/ticket/33883#comment:1>

Reply all
Reply to author
Forward
0 new messages