22 Apr
2023
22 Apr
'23
3:33 a.m.
On 22/04/23 10:20 am, Samuel Muldoon wrote:
Can we change str.formatso that it is possible to change only one string parameter, but leave the other parameters alone?
That would have the effect that every use of str.format for everyone would start producing partially-formatted strings if an argument is accidentally omitted instead of raising an error. Some people might not like that. It would be better to write a separate function for doing partial formatting. -- Greg