On Wed, Feb 24, 2021 at 4:13 AM Richard Damon <rich...@damon-family.org> wrote: > As far as between % or .format(), I think the documentation is fairly > clear that the % method is 'old' and if not 'formally' deprecated, is no > longer considered the 'obvious' way to do it (even if some people will > still do it that way for the simplest cases).
Not really - both forms have their places. You use .format() when you need to be able to reorder arguments, you use percent formatting when you want a compact and simple notation. It's like how we have both string methods and regular expressions - neither one deprecates the other. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/UEZIQ56UYPDWQE3UU5BP72ADRKM2ZSNB/ Code of Conduct: http://python.org/psf/codeofconduct/