New submission from Shivnaren Srinivasan <shivna...@gmail.com>:

I use `argparse` a lot, and I think it's great—going through the source code, I 
see all string interpolation is with the old printf `%` formatting.

AFAIK, f-strings are now the suggested method for interpolation (*after they 
were introduced, that is*).

Do we want to refactor the '%' instances to f-strings? Happy to submit a PR if 
so.

----------
components: Library (Lib)
messages: 404108
nosy: rhettinger, shivnaren
priority: normal
severity: normal
status: open
title: Argparse: Refactor '%' interpolation to f-strings
type: enhancement
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45497>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to